diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 144c0e0f0..5fd550dc1 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -856,7 +856,9 @@ def checkSqlInjection(place, parameter, value): logger.warn(warnMsg) if not checkFalsePositives(injection): - kb.vulnHosts.remove(conf.hostname) + if conf.hostname in kb.vulnHosts: + kb.vulnHosts.remove(conf.hostname) + if NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE not in injection.notes: injection.notes.append(NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE) diff --git a/lib/core/settings.py b/lib/core/settings.py index ad0cfc2af..d7862e86b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.11.15" +VERSION = "1.4.11.16" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)