minor improvement

This commit is contained in:
Miroslav Stampar 2011-03-01 10:38:27 +00:00
parent 0f3cc153a3
commit ad2e4002ea

View File

@ -165,6 +165,9 @@ def resumeConfKb(expression, url, value):
injection.parameter in conf.paramDict[injection.place]:
if not conf.technique or intersect(conf.technique, injection.data.keys()):
if intersect(conf.technique, injection.data.keys()):
injection.data = dict(filter(lambda (key, item): key in conf.technique, injection.data.items()))
if injection not in kb.injections:
kb.injections.append(injection)
else: