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

Skip to content

Commit 8179fd6

Browse files
committed
Minor fix
1 parent d358949 commit 8179fd6

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

lib/controller/controller.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def start():
198198
initTargetEnv()
199199
parseTargetUrl()
200200

201+
proceed = False
201202
testSqlInj = False
202203

203204
if PLACE.GET in conf.parameters:
@@ -318,10 +319,15 @@ def start():
318319
# TODO: consider the following line in __setRequestParams()
319320
# __testableParameters = True
320321

321-
if len(kb.tested) > 0 and kb.tested == conf.tech:
322-
testSqlInj = False
322+
if len(kb.tested) > 0:
323+
for t in conf.tech:
324+
if t not in kb.tested:
325+
proceed = True
326+
break
327+
else:
328+
proceed = True
323329

324-
if testSqlInj:
330+
if proceed:
325331
if not conf.string and not conf.regexp:
326332
# NOTE: this is not needed anymore, leaving only to display
327333
# a warning message to the user in case the page is not stable

0 commit comments

Comments
 (0)