This commit is contained in:
Miroslav Stampar
2016-05-24 14:55:19 +02:00
parent 798b539eec
commit c395958dff
3 changed files with 5 additions and 4 deletions

View File

@@ -710,7 +710,8 @@ def checkSqlInjection(place, parameter, value):
if not checkFalsePositives(injection):
kb.vulnHosts.remove(conf.hostname)
injection.notes.add(NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE)
if NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE not in injection.notes:
injection.notes.append(NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE)
else:
injection = None