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")