Skip to content

Commit 124c390

Browse files
committed
Fixes #5565
1 parent bb1772c commit 124c390

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.10.5"
23+
VERSION = "1.7.11.0"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/techniques/union/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def _orderByTest(cols):
133133
items.append((count, ratio))
134134

135135
if not isNullValue(kb.uChar):
136-
for regex in (kb.uChar.strip("'"), r'>\s*%s\s*<' % kb.uChar.strip("'")):
136+
value = re.escape(kb.uChar.strip("'"))
137+
for regex in (value, r'>\s*%s\s*<' % value):
137138
contains = [count for count, content in pages.items() if re.search(regex, content or "", re.IGNORECASE) is not None]
138139
if len(contains) == 1:
139140
retVal = contains[0]

0 commit comments

Comments
 (0)