File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4940,6 +4940,12 @@ def decodeDbmsHexValue(value, raw=False):
4940
4940
4941
4941
>>> decodeDbmsHexValue('3132332031') == u'123 1'
4942
4942
True
4943
+ >>> decodeDbmsHexValue('31003200330020003100') == u'123 1'
4944
+ True
4945
+ >>> decodeDbmsHexValue('00310032003300200031') == u'123 1'
4946
+ True
4947
+ >>> decodeDbmsHexValue('0x31003200330020003100') == u'123 1'
4948
+ True
4943
4949
>>> decodeDbmsHexValue('313233203') == u'123 ?'
4944
4950
True
4945
4951
>>> decodeDbmsHexValue(['0x31', '0x32']) == [u'1', u'2']
@@ -4978,6 +4984,9 @@ def _(value):
4978
4984
if not isinstance (retVal , six .text_type ):
4979
4985
retVal = getUnicode (retVal , conf .encoding or UNICODE_ENCODING )
4980
4986
4987
+ if u"\x00 " in retVal :
4988
+ retVal = retVal .replace (u"\x00 " , u"" )
4989
+
4981
4990
return retVal
4982
4991
4983
4992
try :
Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.5.1 "
23
+ VERSION = "1.7.5.2 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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