Bug fix for xp_cmdshell in boolean techniques

This commit is contained in:
Miroslav Štampar 2026-06-05 11:44:18 +02:00
parent 5e4ddcc953
commit 8110ccb38a
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.6.36"
VERSION = "1.10.6.37"
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)

View file

@ -226,8 +226,8 @@ class XP_cmdshell(object):
if isNumPosStrValue(count):
for index in getLimitRange(count):
query = agent.limitQuery(index, query, self.tblField)
output.append(inject.getValue(query, union=False, error=False, resumeValue=False))
limitedQuery = agent.limitQuery(index, query, self.tblField)
output.append(inject.getValue(limitedQuery, union=False, error=False, resumeValue=False))
inject.goStacked("DELETE FROM %s" % self.cmdTblName)