mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
restyling
This commit is contained in:
parent
4b3b4eb374
commit
27a12ae85b
|
@ -209,15 +209,18 @@ def runCase(switches=None, parse=None):
|
|||
ifile = open(conf.dumper.getOutputFile(), "rb")
|
||||
content = ifile.read()
|
||||
ifile.close()
|
||||
|
||||
for item in parse:
|
||||
if item.startswith("r'") and item.endswith("'"):
|
||||
if not re.search(item[2:-1], content, re.DOTALL):
|
||||
retVal = False
|
||||
failedItem = item
|
||||
|
||||
break
|
||||
elif content.find(item) < 0:
|
||||
retVal = False
|
||||
failedItem = item
|
||||
|
||||
break
|
||||
|
||||
cleanCase()
|
||||
|
|
Loading…
Reference in New Issue
Block a user