minor fix ("To clarify a bit: STRCMP() is case-insensitive as of MySQL 4.0." - http://bugs.mysql.com/bug.php?id=2102)

This commit is contained in:
Miroslav Stampar 2010-12-22 00:38:54 +00:00
parent 6f2ce15478
commit d6e6afd6f2

View File

@ -222,7 +222,7 @@ class Fingerprint(GenericFingerprint):
setDbms("%s 5" % DBMS.MYSQL)
self.getBanner()
elif inject.checkBooleanExpression("STRCMP(CHAR(97), CHAR(65))=0"):
elif inject.checkBooleanExpression("STRCMP(CHAR(97), CHAR(65))=1"):
kb.dbmsVersion = ["< 5.0.0"]
setDbms("%s 4" % DBMS.MYSQL)
self.getBanner()