mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for a bug reported by aboynes@gmail.com (@@datadir not available on MySQL 4)
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user