Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8d9678

Browse files
committed
Patch for an Issue #935
1 parent 74eacf9 commit d8d9678

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def search(self, dork):
152152
warnMsg += "to get error page information (%d)" % e.code
153153
logger.critical(warnMsg)
154154
return None
155-
except (urllib2.URLError, socket.error, socket.timeout):
155+
except:
156156
errMsg = "unable to connect to DuckDuckGo"
157157
raise SqlmapConnectionException(errMsg)
158158

0 commit comments

Comments
 (0)