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

Skip to content

Commit 6807fb0

Browse files
committed
minor update
1 parent fef60d5 commit 6807fb0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/checks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ def checkDynParam(place, parameter, value):
147147
dynamicity might depend on another parameter.
148148
"""
149149

150+
conf.matchRatio = None
151+
150152
infoMsg = "testing if %s parameter '%s' is dynamic" % (place, parameter)
151153
logger.info(infoMsg)
152154

lib/controller/controller.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ def start():
227227
testSqlInj = True
228228
paramKey = (conf.hostname, conf.path, place, parameter)
229229

230-
conf.matchRatio = None
231-
232230
if paramKey in kb.testedParams:
233231
testSqlInj = False
234232

0 commit comments

Comments
 (0)