This commit is contained in:
Miroslav Stampar
2025-12-31 00:13:42 +01:00
parent d7be168f79
commit 33cd5d5055
6 changed files with 9 additions and 4 deletions

View File

@@ -1095,6 +1095,8 @@ def heuristicCheckSqlInjection(place, parameter):
errMsg += "int.TryParse(Request.QueryString[\"%s\"], out %s)" % (parameter, parameter)
elif platform == WEB_PLATFORM.JSP:
errMsg += "%s=Integer.parseInt(request.getParameter(\"%s\"))" % (parameter, parameter)
elif platform == WEB_PLATFORM.CFM:
errMsg += "%s=Val(url.%s)" % (parameter, parameter)
else:
errMsg += "$%s=intval($_REQUEST[\"%s\"])" % (parameter, parameter)

View File

@@ -372,6 +372,7 @@ class WEB_PLATFORM(object):
ASP = "asp"
ASPX = "aspx"
JSP = "jsp"
CFM = "cfm"
class CONTENT_TYPE(object):
TARGET = 0

View File

@@ -19,7 +19,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.9.12.49"
VERSION = "1.9.12.50"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)