Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bc9e2a

Browse files
committed
Trivial update
1 parent 61f3219 commit 5bc9e2a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lib/core/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4547,6 +4547,8 @@ def decodeDbmsHexValue(value, raw=False):
45474547
45484548
>>> decodeDbmsHexValue('3132332031') == u'123 1'
45494549
True
4550+
>>> decodeDbmsHexValue('313233203') == u'123 ?'
4551+
True
45504552
>>> decodeDbmsHexValue(['0x31', '0x32']) == [u'1', u'2']
45514553
True
45524554
"""
@@ -4568,11 +4570,13 @@ def _(value):
45684570
retVal = retVal.decode("utf-16-le")
45694571
except UnicodeDecodeError:
45704572
pass
4573+
45714574
elif Backend.getIdentifiedDbms() in (DBMS.HSQLDB, DBMS.H2):
45724575
try:
45734576
retVal = retVal.decode("utf-16-be")
45744577
except UnicodeDecodeError:
45754578
pass
4579+
45764580
if not isinstance(retVal, six.text_type):
45774581
retVal = getUnicode(retVal, conf.encoding or UNICODE_ENCODING)
45784582

lib/core/settings.py

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

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

0 commit comments

Comments
 (0)