mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
fix for a bug reported by aboynes@gmail.com (@@datadir not available on MySQL 4)
This commit is contained in:
parent
bd4fbb3251
commit
e181d5412e
|
@ -278,7 +278,7 @@ class Fingerprint(GenericFingerprint):
|
||||||
infoMsg = "fingerprinting the back-end DBMS operating system"
|
infoMsg = "fingerprinting the back-end DBMS operating system"
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
result = inject.checkBooleanExpression("'/'=(SELECT MID(@@datadir, 1, 1))")
|
result = inject.checkBooleanExpression("'W'=UPPER(MID(@@version_compile_os,1,1))")
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
kb.os = "Linux"
|
kb.os = "Linux"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user