Bug fix (in some cases lack of warning message for SQLi appearing)

This commit is contained in:
Miroslav Stampar 2016-06-23 17:52:37 +02:00
parent 733a32de32
commit 0175acd028
2 changed files with 29 additions and 28 deletions

View File

@ -475,7 +475,8 @@ def checkSqlInjection(place, parameter, value):
injectable = True
if injectable and kb.pageStable and not any((conf.string, conf.notString, conf.regexp, conf.code, kb.nullConnection)):
if injectable:
if kb.pageStable and not any((conf.string, conf.notString, conf.regexp, conf.code, kb.nullConnection)):
if all((falseCode, trueCode)) and falseCode != trueCode:
conf.code = trueCode

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.51"
VERSION = "1.0.6.52"
REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")