mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-20 13:30:36 +03:00
(e) finally works as it should
This commit is contained in:
parent
0e815177c8
commit
e4fd8b3f0c
|
@ -82,6 +82,9 @@ def checkSqlInjection(place, parameter, value):
|
||||||
|
|
||||||
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