mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-09-20 11:02:27 +03:00
Fix mysql fingerprint confirmation
This commit is contained in:
parent
d9d9b5eeb7
commit
9bc61739c1
|
@ -192,7 +192,8 @@ class Fingerprint(GenericFingerprint):
|
||||||
infoMsg = "confirming %s" % DBMS.MYSQL
|
infoMsg = "confirming %s" % DBMS.MYSQL
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
result = inject.checkBooleanExpression("SESSION_USER() LIKE USER()")
|
# user@% LIKE user@host OR user@host LIKE user@%
|
||||||
|
result = inject.checkBooleanExpression("SESSION_USER() LIKE USER() OR USER() LIKE SESSION_USER()")
|
||||||
|
|
||||||
if not result:
|
if not result:
|
||||||
# Note: MemSQL doesn't support SESSION_USER()
|
# Note: MemSQL doesn't support SESSION_USER()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user