mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor fix
This commit is contained in:
parent
93cb75ff65
commit
73e8a10527
|
@ -275,12 +275,13 @@ class Fingerprint(GenericFingerprint):
|
|||
infoMsg = "fingerprinting the back-end DBMS operating system"
|
||||
logger.info(infoMsg)
|
||||
|
||||
if inject.checkBooleanExpression("'/'=(SELECT MID(@@datadir, 1, 1))"):
|
||||
result = inject.checkBooleanExpression("'/'=(SELECT MID(@@datadir, 1, 1))")
|
||||
if result is True:
|
||||
kb.os = "Linux"
|
||||
else:
|
||||
elif result is False:
|
||||
kb.os = "Windows"
|
||||
|
||||
infoMsg = "the back-end DBMS operating system is %s" % kb.os
|
||||
infoMsg = "the back-end DBMS operating system is %s" % (kb.os or "Unknown")
|
||||
logger.info(infoMsg)
|
||||
|
||||
self.cleanup(onlyFileTbl=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user