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

Skip to content

Commit b899ab9

Browse files
committed
Bug fix (sha-256,sha384... were recognized, though, not cracked)
1 parent 2e017ee commit b899ab9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

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.2.8.7"
22+
VERSION = "1.2.8.8"
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ def dictionaryAttack(attack_dict):
903903

904904
if hash_regex in (HASH.MD5_BASE64, HASH.SHA1_BASE64, HASH.SHA256_BASE64, HASH.SHA512_BASE64):
905905
item = [(user, hash_.decode("base64").encode("hex")), {}]
906-
elif hash_regex in (HASH.MYSQL, HASH.MYSQL_OLD, HASH.MD5_GENERIC, HASH.SHA1_GENERIC, HASH.APACHE_SHA1):
906+
elif hash_regex in (HASH.MYSQL, HASH.MYSQL_OLD, HASH.MD5_GENERIC, HASH.SHA1_GENERIC, HASH.SHA224_GENERIC, HASH.SHA256_GENERIC, HASH.SHA384_GENERIC, HASH.SHA512_GENERIC, HASH.APACHE_SHA1):
907907
item = [(user, hash_), {}]
908908
elif hash_regex in (HASH.SSHA,):
909909
item = [(user, hash_), {"salt": hash_.decode("base64")[20:]}]

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
0a3b05220e19a5d4d0b1fe1fc1295c79 lib/core/settings.py
51+
588c1f076627097ed858094309961af9 lib/core/settings.py
5252
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
5b7ff6f49ff3af62f8c12f74b6d49dd2 lib/core/target.py
@@ -107,7 +107,7 @@ de9620f03231d8329ee8434884b6bacd lib/utils/deps.py
107107
f7af65aa47329d021e2b2cc8521b42a4 lib/utils/getch.py
108108
7af29f61302c8693cd6436d4b69e22d3 lib/utils/har.py
109109
062e4e8fc43ac54305a75ddd0d482f81 lib/utils/hashdb.py
110-
4d5b2262ad495301706a4cf4c565abec lib/utils/hash.py
110+
05dbc49838ca0454ce401ad616acf8c5 lib/utils/hash.py
111111
011d2dbf589e0faa0deca61a651239cc lib/utils/htmlentities.py
112112
1e5532ede194ac9c083891c2f02bca93 lib/utils/__init__.py
113113
010d8327239d33af4ce9f25683cfc012 lib/utils/pivotdumptable.py

0 commit comments

Comments
 (0)