Minor bug fix

This commit is contained in:
Miroslav Stampar
2025-12-30 13:42:22 +01:00
parent 866fc5dfac
commit 53aafe92fe
3 changed files with 5 additions and 3 deletions

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.38"
VERSION = "1.9.12.39"
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

@@ -291,6 +291,8 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if "'%s'" % CHAR_INFERENCE_MARK in payload:
for char in ('\n', '\r'):
if ord(char) in charTbl:
if not isinstance(charTbl, list):
charTbl = list(charTbl)
charTbl.remove(ord(char))
if not charTbl: