mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update
This commit is contained in:
parent
8b4367d354
commit
6bdef1b7da
4 changed files with 5 additions and 7 deletions
|
|
@ -358,10 +358,10 @@ def processResponse(page, responseHeaders):
|
|||
for match in re.finditer(r"(?si)<form.+?</form>", page):
|
||||
if re.search(r"(?i)captcha", match.group(0)):
|
||||
kb.captchaDetected = True
|
||||
errMsg = "potential CAPTCHA protection mechanism detected"
|
||||
singleTimeLogMessage(errMsg, logging.ERROR)
|
||||
warnMsg = "potential CAPTCHA protection mechanism detected"
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
break
|
||||
|
||||
if re.search(BLOCKED_IP_REGEX, page):
|
||||
errMsg = "it appears that you have been blocked by the target server"
|
||||
singleTimeLogMessage(errMsg, logging.ERROR)
|
||||
warnMsg = "it appears that you have been blocked by the target server"
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue