Skip to content

Commit e7268ff

Browse files
committed
Fixes #2809
1 parent 7c5b051 commit e7268ff

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.11.40"
22+
VERSION = "1.1.12.0"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,12 @@ def _encode64(value, count):
366366
if isinstance(password, unicode):
367367
password = password.encode(UNICODE_ENCODING)
368368

369+
if isinstance(magic, unicode):
370+
magic = magic.encode(UNICODE_ENCODING)
371+
372+
if isinstance(salt, unicode):
373+
salt = salt.encode(UNICODE_ENCODING)
374+
369375
salt = salt[:8]
370376
ctx = password + magic + salt
371377
final = md5(password + salt + password).digest()

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ e1c000db9be27f973569b1a430629037 lib/core/option.py
4646
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
4848
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49-
cbc55bdbfa857e49d1f1f158a44e4de5 lib/core/settings.py
49+
3f8a858155092e17d146cd6021057338 lib/core/settings.py
5050
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252
d5a04d672a18f78deb2839c3745ff83c lib/core/target.py
@@ -105,7 +105,7 @@ a2d2087353fb64a8441c3247ae0ad719 lib/utils/deps.py
105105
b806de9710a02436e576ac9065816021 lib/utils/getch.py
106106
fe3a38f820ae05a95f92ab53e22b46d0 lib/utils/har.py
107107
1bdd3e6483d3d7c4fd6ec59e9526b542 lib/utils/hashdb.py
108-
f6772e95ab1ca991adbecc4434535a92 lib/utils/hash.py
108+
193c294d960c310808495a63167eab00 lib/utils/hash.py
109109
f20ae1aa6a8d1d5373ace1f7ed3476a7 lib/utils/htmlentities.py
110110
5fb9aaf874daa47ea2b672a22740e56b lib/utils/__init__.py
111111
06cd61b634ca6142281da699a504cc85 lib/utils/pivotdumptable.py

0 commit comments

Comments
 (0)