File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.4.5.26 "
21+ VERSION = "1.4.5.27 "
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 )
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def close(self):
6868
6969 @staticmethod
7070 def hashKey (key ):
71- key = getBytes (key if isinstance (key , six .text_type ) else repr (key ))
71+ key = getBytes (key if isinstance (key , six .text_type ) else repr (key ), errors = "xmlcharrefreplace" )
7272 retVal = int (hashlib .md5 (key ).hexdigest (), 16 ) & 0x7fffffffffffffff # Reference: http://stackoverflow.com/a/4448400
7373 return retVal
7474
You can’t perform that action at this time.
0 commit comments