mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor update
This commit is contained in:
@@ -474,6 +474,7 @@ def dictionaryAttack(attack_dict):
|
||||
logger.info(infoMsg)
|
||||
|
||||
for hash_regex in hash_regexes:
|
||||
items = set()
|
||||
attack_info = []
|
||||
|
||||
for (user, hashes) in attack_dict.items():
|
||||
@@ -497,8 +498,9 @@ def dictionaryAttack(attack_dict):
|
||||
elif hash_regex in (HASH.CRYPT_GENERIC):
|
||||
item = [(user, hash_), {'salt': hash_[0:2]}]
|
||||
|
||||
if item and item not in attack_info:
|
||||
if item and repr(item) not in items:
|
||||
attack_info.append(item)
|
||||
items.add(repr(item))
|
||||
|
||||
if not attack_info:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user