mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor optimization
This commit is contained in:
parent
094129a656
commit
8a7b0406c8
2 changed files with 12 additions and 9 deletions
|
|
@ -1332,12 +1332,12 @@ def parseUnionPage(output, unique=True):
|
|||
if output is None:
|
||||
return None
|
||||
|
||||
data = BigArray()
|
||||
|
||||
if output.startswith(kb.chars.start) and output.endswith(kb.chars.stop):
|
||||
data = BigArray()
|
||||
_ = []
|
||||
|
||||
regExpr = '%s(.*?)%s' % (kb.chars.start, kb.chars.stop)
|
||||
output = re.finditer(regExpr, output, re.DOTALL | re.IGNORECASE)
|
||||
_ = []
|
||||
|
||||
for entry in output:
|
||||
entry = entry.group(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue