Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67279a1 commit 8ea22c5Copy full SHA for 8ea22c5
1 file changed
lib/utils/google.py
@@ -46,10 +46,8 @@ def __init__(self, handlers):
46
try:
47
conn = self.opener.open("http://www.google.com/ncr")
48
conn.info() # retrieve session cookie
49
- except urllib2.HTTPError, e:
50
- e.info()
51
- except urllib2.URLError:
52
- errMsg = "unable to connect to Google"
+ except Exception, ex:
+ errMsg = "unable to connect to Google ('%s')" % ex
53
raise SqlmapConnectionException(errMsg)
54
55
def search(self, dork):
0 commit comments