mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor bug fix
This commit is contained in:
parent
f905adb7c1
commit
09479c85dc
|
@ -294,7 +294,8 @@ def resumeConfKb(expression, url, value):
|
|||
logMsg = "resuming injection data from session file"
|
||||
logger.info(logMsg)
|
||||
|
||||
if injection.parameter in conf.paramDict[injection.place]:
|
||||
if injection.place in conf.paramDict and\
|
||||
injection.parameter in conf.paramDict[injection.place]:
|
||||
kb.injections.append(injection)
|
||||
else:
|
||||
warnMsg = "there is an injection in %s parameter '%s' " % (injection.place, injection.parameter)
|
||||
|
|
Loading…
Reference in New Issue
Block a user