mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Fix for an Issue #878
This commit is contained in:
@@ -46,10 +46,8 @@ class Google(object):
|
||||
try:
|
||||
conn = self.opener.open("http://www.google.com/ncr")
|
||||
conn.info() # retrieve session cookie
|
||||
except urllib2.HTTPError, e:
|
||||
e.info()
|
||||
except urllib2.URLError:
|
||||
errMsg = "unable to connect to Google"
|
||||
except Exception, ex:
|
||||
errMsg = "unable to connect to Google ('%s')" % ex
|
||||
raise SqlmapConnectionException(errMsg)
|
||||
|
||||
def search(self, dork):
|
||||
|
||||
Reference in New Issue
Block a user