Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6a8fee

Browse files
committed
Fix for an Issue #831
1 parent 2ab4558 commit c6a8fee

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ def checkSqlInjection(place, parameter, value):
8585
# Set the flag for SQL injection test mode
8686
kb.testMode = True
8787

88-
for test in getSortedInjectionTests():
88+
tests = getSortedInjectionTests()
89+
90+
while tests:
91+
test = tests.pop(0)
92+
8993
try:
9094
if kb.endDetection:
9195
break
@@ -597,6 +601,7 @@ def genCmpPayload():
597601
choice = readInput(msg, default=str(conf.verbose), checkBatch=False).strip()
598602
conf.verbose = int(choice)
599603
setVerbosity()
604+
tests.insert(0, test)
600605
elif choice[0] in ("n", "N"):
601606
return None
602607
elif choice[0] in ("e", "E"):

0 commit comments

Comments
 (0)