Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa4e867

Browse files
committed
Bug fix for MySQL fingerprinting (excluding HSQLDB MySQL look-alike)
1 parent 41db0e0 commit fa4e867

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

plugins/dbms/mysql/fingerprint.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,14 @@ def checkDbms(self):
177177

178178
return False
179179

180+
result = inject.checkBooleanExpression("ROUNDMAGIC(NULL) IS NULL")
181+
182+
if result:
183+
warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL
184+
logger.warn(warnMsg)
185+
186+
return False
187+
180188
# reading information_schema on some platforms is causing annoying timeout exits
181189
# Reference: http://bugs.mysql.com/bug.php?id=15855
182190

0 commit comments

Comments
 (0)