Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207bef7 commit 0f48dd6Copy full SHA for 0f48dd6
1 file changed
lib/controller/controller.py
@@ -118,17 +118,22 @@ def start():
118
conf.data = targetData
119
conf.cookie = targetCookie
120
injData = []
121
-
+
122
initTargetEnv()
123
parseTargetUrl()
124
125
testSqlInj = False
126
if "GET" in conf.parameters:
127
for parameter in re.findall(r"([^=]+)=[^&]+&?", conf.parameters["GET"]):
128
paramKey = (conf.hostname, conf.path, "GET", parameter)
129
if paramKey not in kb.testedParams:
130
testSqlInj = True
131
break
132
+ else:
133
+ paramKey = (conf.hostname, conf.path, None, None)
134
+ if paramKey not in kb.testedParams:
135
+ testSqlInj = True
136
137
if not testSqlInj:
138
infoMsg = "skipping '%s'" % targetUrl
139
logger.info(infoMsg)
0 commit comments