mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Removing reflective warning for parsing heuristic test
This commit is contained in:
parent
27bf37e741
commit
8d3435ab0b
3 changed files with 6 additions and 1 deletions
|
|
@ -744,10 +744,14 @@ def heuristicCheckSqlInjection(place, parameter):
|
|||
while '\'' not in randStr:
|
||||
randStr = randomStr(length=10, alphabet=HEURISTIC_CHECK_ALPHABET)
|
||||
|
||||
kb.heuristicMode = True
|
||||
|
||||
payload = "%s%s%s" % (prefix, randStr, suffix)
|
||||
payload = agent.payload(place, parameter, newValue=payload)
|
||||
page, _ = Request.queryPage(payload, place, content=True, raise404=False)
|
||||
|
||||
kb.heuristicMode = False
|
||||
|
||||
parseFilePaths(page)
|
||||
result = wasLastResponseDBMSError()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue