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 107a900 commit 5bc0742Copy full SHA for 5bc0742
1 file changed
lib/request/connect.py
@@ -199,7 +199,11 @@ def getPage(**kwargs):
199
errMsg = "page not found"
200
raise sqlmapConnectionException, errMsg
201
else:
202
- page = e.read()
+ try:
203
+ page = e.read()
204
+ except socket.timeout:
205
+ warnMsg = "connection timed out to the target url"
206
+ raise sqlmapConnectionException, warnMsg
207
code = e.code
208
status = e.msg
209
responseHeaders = e.info()
0 commit comments