Minor update (adding a warning message about potential dropping of requests because of protection mechanisms involved)

This commit is contained in:
Miroslav Stampar
2014-09-08 14:33:13 +02:00
parent 055b759145
commit 53d0d5bf8b
3 changed files with 5 additions and 1 deletions

View File

@@ -533,6 +533,8 @@ class Connect(object):
elif "forcibly closed" in tbMsg:
warnMsg = "connection was forcibly closed by the target URL"
elif "timed out" in tbMsg:
if kb.testMode and kb.testType not in (None, PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED):
singleTimeWarnMessage("there is a possibility that the target (or WAF) is dropping 'suspicious' requests")
warnMsg = "connection timed out to the target URL"
elif "URLError" in tbMsg or "error" in tbMsg:
warnMsg = "unable to connect to the target URL"