mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
some fixes regarding --check-payload
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user