fix for --technique

This commit is contained in:
Miroslav Stampar 2011-03-01 09:54:06 +00:00
parent 9856cb71de
commit 0f3cc153a3

View File

@ -164,7 +164,7 @@ def resumeConfKb(expression, url, value):
if injection.place in conf.paramDict and \
injection.parameter in conf.paramDict[injection.place]:
if not conf.technique or intersect(conf.technique, injection.data):
if not conf.technique or intersect(conf.technique, injection.data.keys()):
if injection not in kb.injections:
kb.injections.append(injection)
else: