diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 7afb4c89b..c9ef6cfdd 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -521,7 +521,7 @@ def start(): injection = checkSqlInjection(place, parameter, value) proceed = not kb.endDetection - if injection is not None and injection.place is not None: + if getattr(injection, "place", None) is not None: kb.injections.append(injection) # In case when user wants to end detection phase (Ctrl+C) diff --git a/lib/core/settings.py b/lib/core/settings.py index 3dbbbdc46..9ecf0dca9 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.4.17" +VERSION = "1.0.4.18" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")