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 2795aef commit 712e238Copy full SHA for 712e238
1 file changed
lib/request/connect.py
@@ -393,9 +393,6 @@ def getPage(**kwargs):
393
if "forcibly closed" in tbMsg:
394
logger.critical(warnMsg)
395
return None, None
396
- elif kb.testMode:
397
- logger.warn(warnMsg)
398
- return None, None
399
elif silent or (ignoreTimeout and any(map(lambda x: x in tbMsg, ["timed out", "IncompleteRead"]))):
400
401
elif threadData.retriesCount < conf.retries and not kb.threadException and not conf.realTest:
@@ -429,6 +426,9 @@ def getPage(**kwargs):
429
426
430
427
socket.setdefaulttimeout(conf.timeout)
431
428
return Connect.__getPageProxy(**kwargs)
+ elif kb.testMode:
+ logger.warn(warnMsg)
+ return None, None
432
else:
433
434
raise sqlmapConnectionException, warnMsg
0 commit comments