diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index 23b17de99..6b2bf8975 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -222,7 +222,7 @@ class Fingerprint(GenericFingerprint): setDbms("%s 5" % DBMS.MYSQL) self.getBanner() - elif inject.checkBooleanExpression("(SELECT FOUND_ROWS())>=0"): + elif inject.checkBooleanExpression("STRCMP(CHAR(97), CHAR(65))=0"): kb.dbmsVersion = ["< 5.0.0"] setDbms("%s 4" % DBMS.MYSQL) self.getBanner()