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

Skip to content

Commit 0664e72

Browse files
committed
Minor fix for an Issue #230
1 parent 5b61e9c commit 0664e72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def dictionaryAttack(attack_dict):
672672

673673
if hash_regex in (HASH.MYSQL, HASH.MYSQL_OLD, HASH.MD5_GENERIC, HASH.SHA1_GENERIC):
674674
for suffix in suffix_list:
675-
if len(attack_info) <= len(results) or processException:
675+
if not attack_info or processException:
676676
break
677677

678678
if suffix:

0 commit comments

Comments
 (0)