mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Better dealing with MySQL vs HSQLDB
This commit is contained in:
parent
9641e84dd9
commit
51444276c0
|
@ -169,7 +169,7 @@ class Fingerprint(GenericFingerprint):
|
|||
infoMsg = "confirming %s" % DBMS.MYSQL
|
||||
logger.info(infoMsg)
|
||||
|
||||
result = inject.checkBooleanExpression("USER() LIKE USER()")
|
||||
result = inject.checkBooleanExpression("SESSION_USER() LIKE USER()")
|
||||
|
||||
if not result:
|
||||
warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL
|
||||
|
@ -177,14 +177,6 @@ class Fingerprint(GenericFingerprint):
|
|||
|
||||
return False
|
||||
|
||||
result = inject.checkBooleanExpression("ROUNDMAGIC(NULL) IS NULL")
|
||||
|
||||
if result:
|
||||
warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL
|
||||
logger.warn(warnMsg)
|
||||
|
||||
return False
|
||||
|
||||
# reading information_schema on some platforms is causing annoying timeout exits
|
||||
# Reference: http://bugs.mysql.com/bug.php?id=15855
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user