| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ | |||
| 20 | 20 | from thirdparty import six | |
| 21 | 21 | ||
| 22 | 22 | # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | |
| 23 | - VERSION = "1.10.9.19" | ||
| 23 | + VERSION = "1.10.9.20" | ||
| 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) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -406,7 +406,7 @@ def crypt_generic_passwd(password, salt, **kwargs): | |||
| 406 | 406 | 'rl.3StKT.4T8M' | |
| 407 | 407 | """ | |
| 408 | 408 | ||
| 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 | ||
| 410 | 410 | ||
| 411 | 411 | return getText(crypt(password, salt)) | |
| 412 | 412 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments