Skip to content

Commit 85b8d36

Browse files
committed
Couple of bug fixes
1 parent be21604 commit 85b8d36

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

data/txt/sha256sums.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ c03dc585f89642cfd81b087ac2723e3e1bb3bfa8c60e6f5fe58ef3b0113ebfe6 lib/core/data.
188188
48797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
189189
0b8c38a01bb01f843d94a6c5f2075ee47520d0c4aa799cecea9c3e2c5a4a23a6 lib/core/revision.py
190190
888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
191-
f4e3a7ee19ee99f56427841afe3ceefe3dda61d0e975598aa2cb1ce7ea1a1e06 lib/core/settings.py
191+
6b500a46b1ab9fa4c2a5036bf8d80db7778ad0e08d2487372944d9d39016377e lib/core/settings.py
192192
cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
193193
bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
194194
70ea3768f1b3062b22d20644df41c86238157ec80dd43da40545c620714273c6 lib/core/target.py
@@ -248,8 +248,8 @@ a94958be0ec3e9d28d8171813a6a90655a9ad7e6aa33c661e8d8ebbfcf208dbb lib/utils/deps
248248
51cfab194cd5b6b24d62706fb79db86c852b9e593f4c55c15b35f175e70c9d75 lib/utils/getch.py
249249
853c3595e1d2efc54b8bfb6ab12c55d1efc1603be266978e3a7d96d553d91a52 lib/utils/gui.py
250250
972c5db9c9e30ac0f91c0f8d4df4531d0304e151dac99f1399c37c952ba9f935 lib/utils/har.py
251-
e890d2ee4787589b2464d9c561d10a6896546781c349b48bfe4d42dd3954468b lib/utils/hashdb.py
252-
e6ec30a42b04e6cbce9922affb3acbdfd0a772bbb4a86d44b57361a8fa4dfad3 lib/utils/hash.py
251+
b74a311e1cd30ec62e54684f970c14bfd85ffde225b9ddbbb12b85f3c528f8c2 lib/utils/hashdb.py
252+
71a66ff766a2921106770b26acff380de469222dc893816a7b970b384c927666 lib/utils/hash.py
253253
1966ca704961fb987ab757f0a4afddbf841d1a880631b701487c75cef63d60c3 lib/utils/__init__.py
254254
22ba65391b0a73b1925e5becf8ddab6ba73a196d86e351a2263509aad6676bd7 lib/utils/pivotdumptable.py
255255
c1dfc3bed0fed9b181f612d1d747955dd2b506dbe99bc9fd481495602371473a lib/utils/progress.py

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.6.64"
23+
VERSION = "1.10.6.65"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def _finalize(retVal, results, processes, attack_info=None):
616616
removals.add((user, hash_))
617617
hashDBWrite(hash_, word)
618618

619-
for item in attack_info or []:
619+
for item in list(attack_info or []):
620620
if (item[0][0], item[0][1]) in removals:
621621
attack_info.remove(item)
622622

@@ -1081,7 +1081,7 @@ def dictionaryAttack(attack_dict):
10811081

10821082
if item and hash_ not in keys:
10831083
resumed = hashDBRetrieve(hash_)
1084-
if not resumed:
1084+
if resumed is None:
10851085
attack_info.append(item)
10861086
user_hash.append(item[0])
10871087
else:

lib/utils/hashdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def retrieve(self, key, unserialize=False):
106106
if retVal is None:
107107
retVal = self._read_cache.get(hash_)
108108

109-
if not retVal:
109+
if retVal is None:
110110
for _ in xrange(HASHDB_RETRIEVE_RETRIES):
111111
try:
112112
for row in self.cursor.execute("SELECT value FROM storage WHERE id=?", (hash_,)):

0 commit comments

Comments
 (0)