mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
some optimization
This commit is contained in:
parent
a6310c0b21
commit
b77e2042f2
3 changed files with 16 additions and 9 deletions
|
|
@ -72,10 +72,10 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
|
|||
|
||||
# Parse the returned page to get the exact union-based
|
||||
# sql injection output
|
||||
retVal = reduce(lambda x, y: x if x is not None else y, [ \
|
||||
retVal = reduce(lambda x, y: x if x is not None else y, ( \
|
||||
extractRegexResult(check, removeReflectiveValues(page, payload), re.DOTALL | re.IGNORECASE), \
|
||||
extractRegexResult(check, removeReflectiveValues(listToStrValue(headers.headers \
|
||||
if headers else None), payload, True), re.DOTALL | re.IGNORECASE)], \
|
||||
if headers else None), payload, True), re.DOTALL | re.IGNORECASE)), \
|
||||
None)
|
||||
|
||||
if retVal is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue