Skip to content

Commit 2171eb1

Browse files
committed
Fixes CI/CD issues
1 parent 31005fe commit 2171eb1

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
@@ -20,7 +20,7 @@
2020
from thirdparty import six
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.10.9.19"
23+
VERSION = "1.10.9.20"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def crypt_generic_passwd(password, salt, **kwargs):
406406
'rl.3StKT.4T8M'
407407
"""
408408

409-
password = getUnicode(password) # stdlib crypt.crypt() requires str, unlike the hashlib-based functions here
409+
password = getText(password) # crypt.crypt() requires native str (unicode on Py3, bytes on Py2/PyPy), unlike the hashlib-based functions here
410410

411411
return getText(crypt(password, salt))
412412

0 commit comments

Comments
 (0)