Minor patch

This commit is contained in:
Miroslav Stampar 2016-06-26 01:10:47 +02:00
parent a4b60dc00f
commit 0a9d69a7d0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
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")