mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
restyling
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user