mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-04 20:03:10 +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")
|
ifile = open(conf.dumper.getOutputFile(), "rb")
|
||||||
content = ifile.read()
|
content = ifile.read()
|
||||||
ifile.close()
|
ifile.close()
|
||||||
|
|
||||||
for item in parse:
|
for item in parse:
|
||||||
if item.startswith("r'") and item.endswith("'"):
|
if item.startswith("r'") and item.endswith("'"):
|
||||||
if not re.search(item[2:-1], content, re.DOTALL):
|
if not re.search(item[2:-1], content, re.DOTALL):
|
||||||
retVal = False
|
retVal = False
|
||||||
failedItem = item
|
failedItem = item
|
||||||
|
|
||||||
break
|
break
|
||||||
elif content.find(item) < 0:
|
elif content.find(item) < 0:
|
||||||
retVal = False
|
retVal = False
|
||||||
failedItem = item
|
failedItem = item
|
||||||
|
|
||||||
break
|
break
|
||||||
|
|
||||||
cleanCase()
|
cleanCase()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user