File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4700,18 +4700,19 @@ def _(value):
47004700 else :
47014701 retVal = decodeHex (value )
47024702
4703- if not kb .binaryField and not raw :
4704- if Backend .isDbms (DBMS .MSSQL ) and value .startswith ("0x" ):
4705- try :
4706- retVal = retVal .decode ("utf-16-le" )
4707- except UnicodeDecodeError :
4708- pass
4703+ if not raw :
4704+ if not kb .binaryField :
4705+ if Backend .isDbms (DBMS .MSSQL ) and value .startswith ("0x" ):
4706+ try :
4707+ retVal = retVal .decode ("utf-16-le" )
4708+ except UnicodeDecodeError :
4709+ pass
47094710
4710- elif Backend .getIdentifiedDbms () in (DBMS .HSQLDB , DBMS .H2 ):
4711- try :
4712- retVal = retVal .decode ("utf-16-be" )
4713- except UnicodeDecodeError :
4714- pass
4711+ elif Backend .getIdentifiedDbms () in (DBMS .HSQLDB , DBMS .H2 ):
4712+ try :
4713+ retVal = retVal .decode ("utf-16-be" )
4714+ except UnicodeDecodeError :
4715+ pass
47154716
47164717 if not isinstance (retVal , six .text_type ):
47174718 retVal = getUnicode (retVal , conf .encoding or UNICODE_ENCODING )
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.10.7 "
21+ VERSION = "1.3.10.8 "
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