mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
fuck, sorry, 0 was OK (STRCMP() returns 0 if the strings are the same)
This commit is contained in:
parent
d6e6afd6f2
commit
306501363c
|
@ -222,7 +222,7 @@ class Fingerprint(GenericFingerprint):
|
|||
setDbms("%s 5" % DBMS.MYSQL)
|
||||
self.getBanner()
|
||||
|
||||
elif inject.checkBooleanExpression("STRCMP(CHAR(97), CHAR(65))=1"):
|
||||
elif inject.checkBooleanExpression("STRCMP(CHAR(97), CHAR(65))=0"):
|
||||
kb.dbmsVersion = ["< 5.0.0"]
|
||||
setDbms("%s 4" % DBMS.MYSQL)
|
||||
self.getBanner()
|
||||
|
|
Loading…
Reference in New Issue
Block a user