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

Skip to content

Commit ddf8b1b

Browse files
committed
Fixes #4208
1 parent 9a36357 commit ddf8b1b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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.4.5.26"
21+
VERSION = "1.4.5.27"
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)

lib/utils/hashdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)