mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
cosmetics
This commit is contained in:
parent
017ea9e686
commit
7f7fb93155
|
@ -52,12 +52,9 @@ def errorUse(expression):
|
||||||
expression = unescaper.unescape(expression)
|
expression = unescaper.unescape(expression)
|
||||||
expression = query.replace("[QUERY]", expression)
|
expression = query.replace("[QUERY]", expression)
|
||||||
|
|
||||||
#debugMsg = "query: %s" % expression
|
|
||||||
#logger.debug(debugMsg)
|
|
||||||
|
|
||||||
payload = agent.payload(newValue=expression)
|
payload = agent.payload(newValue=expression)
|
||||||
reqBody, _ = Request.queryPage(payload, content=True)
|
page, _ = Request.queryPage(payload, content=True)
|
||||||
output = extractRegexResult(check, reqBody, re.DOTALL | re.IGNORECASE)
|
output = extractRegexResult(check, page, re.DOTALL | re.IGNORECASE)
|
||||||
|
|
||||||
if output:
|
if output:
|
||||||
output = output.replace(kb.misc.space, " ")
|
output = output.replace(kb.misc.space, " ")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user