mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fixes #1453
This commit is contained in:
parent
78bbf5d63c
commit
657d71119b
|
@ -97,9 +97,9 @@ class Google(object):
|
||||||
except urllib2.HTTPError, e:
|
except urllib2.HTTPError, e:
|
||||||
try:
|
try:
|
||||||
page = e.read()
|
page = e.read()
|
||||||
except socket.timeout:
|
except Exception, ex:
|
||||||
warnMsg = "connection timed out while trying "
|
warnMsg = "problem occurred while trying to get "
|
||||||
warnMsg += "to get error page information (%d)" % e.code
|
warnMsg += "an error page information (%s)" % getSafeExString(ex)
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
return None
|
return None
|
||||||
except (urllib2.URLError, httplib.error, socket.error, socket.timeout, socks.ProxyError):
|
except (urllib2.URLError, httplib.error, socket.error, socket.timeout, socks.ProxyError):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user