From 66061e8c5f9eea112d6c082d6db4dd73191f069e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 15 Apr 2016 12:04:54 +0200 Subject: [PATCH] Fixes #1811 --- lib/controller/controller.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")