mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-27 20:33:47 +03:00
Minor fix
This commit is contained in:
parent
d3589493d1
commit
8179fd63c0
|
@ -198,6 +198,7 @@ def start():
|
||||||
initTargetEnv()
|
initTargetEnv()
|
||||||
parseTargetUrl()
|
parseTargetUrl()
|
||||||
|
|
||||||
|
proceed = False
|
||||||
testSqlInj = False
|
testSqlInj = False
|
||||||
|
|
||||||
if PLACE.GET in conf.parameters:
|
if PLACE.GET in conf.parameters:
|
||||||
|
@ -318,10 +319,15 @@ def start():
|
||||||
# TODO: consider the following line in __setRequestParams()
|
# TODO: consider the following line in __setRequestParams()
|
||||||
# __testableParameters = True
|
# __testableParameters = True
|
||||||
|
|
||||||
if len(kb.tested) > 0 and kb.tested == conf.tech:
|
if len(kb.tested) > 0:
|
||||||
testSqlInj = False
|
for t in conf.tech:
|
||||||
|
if t not in kb.tested:
|
||||||
|
proceed = True
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
proceed = True
|
||||||
|
|
||||||
if testSqlInj:
|
if proceed:
|
||||||
if not conf.string and not conf.regexp:
|
if not conf.string and not conf.regexp:
|
||||||
# NOTE: this is not needed anymore, leaving only to display
|
# NOTE: this is not needed anymore, leaving only to display
|
||||||
# a warning message to the user in case the page is not stable
|
# a warning message to the user in case the page is not stable
|
||||||
|
|
Loading…
Reference in New Issue
Block a user