mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor update
This commit is contained in:
@@ -286,7 +286,7 @@ def start():
|
|||||||
e += ", skipping to next url"
|
e += ", skipping to next url"
|
||||||
logger.error(e)
|
logger.error(e)
|
||||||
else:
|
else:
|
||||||
logger.error(e)
|
logger.critical(e)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if conf.loggedToOut:
|
if conf.loggedToOut:
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ class Google:
|
|||||||
except socket.timeout:
|
except socket.timeout:
|
||||||
warnMsg = "connection timed out while trying "
|
warnMsg = "connection timed out while trying "
|
||||||
warnMsg += "to get error page information (%d)" % e.code
|
warnMsg += "to get error page information (%d)" % e.code
|
||||||
logger.warn(warnMsg)
|
logger.critical(warnMsg)
|
||||||
return None
|
return None
|
||||||
except (urllib2.URLError, socket.error, socket.timeout), _:
|
except (urllib2.URLError, socket.error, socket.timeout), _:
|
||||||
errMsg = "unable to connect to Google"
|
errMsg = "unable to connect to Google"
|
||||||
|
|||||||
Reference in New Issue
Block a user