We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9641e84 commit 5144427Copy full SHA for 5144427
1 file changed
plugins/dbms/mysql/fingerprint.py
@@ -169,22 +169,14 @@ def checkDbms(self):
169
infoMsg = "confirming %s" % DBMS.MYSQL
170
logger.info(infoMsg)
171
172
- result = inject.checkBooleanExpression("USER() LIKE USER()")
+ result = inject.checkBooleanExpression("SESSION_USER() LIKE USER()")
173
174
if not result:
175
warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL
176
logger.warn(warnMsg)
177
178
return False
179
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
188
# reading information_schema on some platforms is causing annoying timeout exits
189
# Reference: http://bugs.mysql.com/bug.php?id=15855
190
0 commit comments