minor fix

This commit is contained in:
Miroslav Stampar 2011-01-07 17:38:28 +00:00
parent 27628dca42
commit ed2aed972f

View File

@ -288,7 +288,7 @@ def dictionaryAttack(attack_dict):
hash_ = hash_.split()[0]
regex = hashRecognition(hash_)
if regex not in hash_regexes:
if regex and regex not in hash_regexes:
hash_regexes.append(regex)
infoMsg = "using hash method: '%s'" % __functions__[regex].func_name
logger.info(infoMsg)