From 0a9d69a7d0453f84a3b6f12353d73891fddb8660 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 26 Jun 2016 01:10:47 +0200 Subject: [PATCH] Minor patch --- lib/controller/checks.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 20ad7f552..3f9618710 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -939,7 +939,7 @@ def heuristicCheckSqlInjection(place, parameter): infoMsg += "'%s' might " % parameter def _(page): - return any(_ in (page or "") for _ in FORMAT_EXCEPTION_STRINGS) + return re.search("(?i)sql", page or "") is None and any(_ in (page or "") for _ in FORMAT_EXCEPTION_STRINGS) casting = _(page) and not _(kb.originalPage) diff --git a/lib/core/settings.py b/lib/core/settings.py index f8ef18529..49191ad82 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.57" +VERSION = "1.0.6.58" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")