mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Cosmetics
This commit is contained in:
parent
2b2b7dc3a6
commit
effd2ca0e3
|
@ -219,8 +219,8 @@ class Agent:
|
|||
inferenceQuery = queries[kb.misc.testedDbms].inference.query
|
||||
payload = payload.replace("[INFERENCE]", inferenceQuery)
|
||||
else:
|
||||
errMsg = "invalid usage of inference payload without knowledge "
|
||||
errMsg += "of underlying DBMS"
|
||||
errMsg = "invalid usage of inference payload without "
|
||||
errMsg += "knowledge of underlying DBMS"
|
||||
raise sqlmapNoneDataException, errMsg
|
||||
|
||||
return payload
|
||||
|
|
|
@ -1609,6 +1609,7 @@ def extractRegexResult(regex, content, flags=0):
|
|||
|
||||
if regex and content and '?P<result>' in regex:
|
||||
match = re.search(regex, content, flags)
|
||||
|
||||
if match:
|
||||
retVal = match.group("result")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user