Minor fix for an Issue #230

This commit is contained in:
Miroslav Stampar 2012-11-30 12:13:34 +01:00
parent 5b61e9ce12
commit 0664e72bea

View File

@ -672,7 +672,7 @@ def dictionaryAttack(attack_dict):
if hash_regex in (HASH.MYSQL, HASH.MYSQL_OLD, HASH.MD5_GENERIC, HASH.SHA1_GENERIC):
for suffix in suffix_list:
if len(attack_info) <= len(results) or processException:
if not attack_info or processException:
break
if suffix: