mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Just.. cosmetics ;)
This commit is contained in:
parent
35b6d7278a
commit
6761933f75
7 changed files with 18 additions and 7 deletions
|
|
@ -322,8 +322,9 @@ def checkSqlInjection(place, parameter, value):
|
|||
# Perform the test's request and grep the response
|
||||
# body for the test's <grep> regular expression
|
||||
page, headers = Request.queryPage(reqPayload, place, content=True, raise404=False)
|
||||
output = extractRegexResult(check, page, re.DOTALL | re.IGNORECASE)\
|
||||
or extractRegexResult(check, listToStrValue(headers.headers if headers else None), re.DOTALL | re.IGNORECASE)
|
||||
output = extractRegexResult(check, page, re.DOTALL | re.IGNORECASE) \
|
||||
or extractRegexResult(check, listToStrValue(headers.headers \
|
||||
if headers else None), re.DOTALL | re.IGNORECASE)
|
||||
|
||||
if output:
|
||||
result = output.replace(kb.misc.space, " ") == "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue