This commit is contained in:
Bernardo Damele 2008-10-30 23:20:14 +00:00
parent 7ad9639ed0
commit e2a0f7a47b
2 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ def __setHTTPUserAgent():
logger.debug(debugMsg)
try:
fd = open(conf.userAgentsFile)
fd = open(conf.userAgentsFile, "r")
except IOError:
warnMsg = "unable to read HTTP User-Agent header "
warnMsg += "file '%s'" % conf.userAgentsFile

View File

@ -294,7 +294,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Takeover):
if not conf.extensiveFp:
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())")
if coercibility == "3":