File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1818from 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 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments