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 5bc0742 commit af701cdCopy full SHA for af701cd
1 file changed
lib/request/connect.py
@@ -201,12 +201,14 @@ def getPage(**kwargs):
201
else:
202
try:
203
page = e.read()
204
+ responseHeaders = e.info()
205
except socket.timeout:
- warnMsg = "connection timed out to the target url"
206
- raise sqlmapConnectionException, warnMsg
+ warnMsg = "connection timed out while trying "
207
+ warnMsg += "to get error page information"
208
+ logger.warn(warnMsg)
209
+ page, responseHeaders = None, None
210
code = e.code
211
status = e.msg
- responseHeaders = e.info()
212
213
debugMsg = "got HTTP error code: %d" % code
214
logger.debug(debugMsg)
0 commit comments