mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-18 04:20:35 +03:00
(e) finally works as it should
This commit is contained in:
parent
0e815177c8
commit
e4fd8b3f0c
|
@ -81,7 +81,10 @@ def checkSqlInjection(place, parameter, value):
|
||||||
kb.testMode = True
|
kb.testMode = True
|
||||||
|
|
||||||
for test in getInjectionTests():
|
for test in getInjectionTests():
|
||||||
try:
|
try:
|
||||||
|
if kb.endDetection:
|
||||||
|
break
|
||||||
|
|
||||||
title = test.title
|
title = test.title
|
||||||
stype = test.stype
|
stype = test.stype
|
||||||
clause = test.clause
|
clause = test.clause
|
||||||
|
@ -415,7 +418,6 @@ def checkSqlInjection(place, parameter, value):
|
||||||
return None
|
return None
|
||||||
elif test[0] in ("e", "E"):
|
elif test[0] in ("e", "E"):
|
||||||
kb.endDetection = True
|
kb.endDetection = True
|
||||||
return None
|
|
||||||
elif test[0] in ("q", "Q"):
|
elif test[0] in ("q", "Q"):
|
||||||
raise sqlmapUserQuitException
|
raise sqlmapUserQuitException
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user