mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fix typo
This commit is contained in:
parent
7ad9639ed0
commit
e2a0f7a47b
|
@ -314,7 +314,7 @@ def __setHTTPUserAgent():
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
fd = open(conf.userAgentsFile)
|
fd = open(conf.userAgentsFile, "r")
|
||||||
except IOError:
|
except IOError:
|
||||||
warnMsg = "unable to read HTTP User-Agent header "
|
warnMsg = "unable to read HTTP User-Agent header "
|
||||||
warnMsg += "file '%s'" % conf.userAgentsFile
|
warnMsg += "file '%s'" % conf.userAgentsFile
|
||||||
|
|
|
@ -294,7 +294,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
||||||
if not conf.extensiveFp:
|
if not conf.extensiveFp:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# Check which version of MySQL , 5.0.0 it is
|
# Check which version of MySQL < 5.0.0 it is
|
||||||
coercibility = inject.getValue("COERCIBILITY(USER())")
|
coercibility = inject.getValue("COERCIBILITY(USER())")
|
||||||
|
|
||||||
if coercibility == "3":
|
if coercibility == "3":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user