mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Fix for an Issue #831
This commit is contained in:
parent
2ab4558859
commit
c6a8feea8a
|
@ -85,7 +85,11 @@ def checkSqlInjection(place, parameter, value):
|
||||||
# Set the flag for SQL injection test mode
|
# Set the flag for SQL injection test mode
|
||||||
kb.testMode = True
|
kb.testMode = True
|
||||||
|
|
||||||
for test in getSortedInjectionTests():
|
tests = getSortedInjectionTests()
|
||||||
|
|
||||||
|
while tests:
|
||||||
|
test = tests.pop(0)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if kb.endDetection:
|
if kb.endDetection:
|
||||||
break
|
break
|
||||||
|
@ -597,6 +601,7 @@ def checkSqlInjection(place, parameter, value):
|
||||||
choice = readInput(msg, default=str(conf.verbose), checkBatch=False).strip()
|
choice = readInput(msg, default=str(conf.verbose), checkBatch=False).strip()
|
||||||
conf.verbose = int(choice)
|
conf.verbose = int(choice)
|
||||||
setVerbosity()
|
setVerbosity()
|
||||||
|
tests.insert(0, test)
|
||||||
elif choice[0] in ("n", "N"):
|
elif choice[0] in ("n", "N"):
|
||||||
return None
|
return None
|
||||||
elif choice[0] in ("e", "E"):
|
elif choice[0] in ("e", "E"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user