mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 09:24:01 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ class Fingerprint(GenericFingerprint):
|
|||
infoMsg = "fingerprinting the back-end DBMS operating system"
|
||||
logger.info(infoMsg)
|
||||
|
||||
result = inject.checkBooleanExpression("'/'=(SELECT MID(@@datadir, 1, 1))")
|
||||
result = inject.checkBooleanExpression("'W'=UPPER(MID(@@version_compile_os,1,1))")
|
||||
|
||||
if result:
|
||||
kb.os = "Linux"
|
||||
|
|
|
|||
Loading…
Reference in a new issue