mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
some fixes regarding --check-payload
This commit is contained in:
parent
b3b2c3864a
commit
f7d42af046
2 changed files with 4 additions and 7 deletions
|
|
@ -50,9 +50,6 @@ def checkPayload(payload):
|
|||
|
||||
if payload:
|
||||
for rule, desc in rules:
|
||||
try:
|
||||
regObj = getCompiledRegex(rule)
|
||||
if regObj.search(payload):
|
||||
logger.warn("highly probable IDS/IPS detection: '%s: %s'" % (desc, payload))
|
||||
except: # Some issues with some regex expressions in Python 2.5
|
||||
pass
|
||||
regObj = getCompiledRegex(rule)
|
||||
if regObj.search(payload):
|
||||
logger.warn("highly probable IDS/IPS detection: '%s: %s'" % (desc, payload))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue