Minor bug fix

This commit is contained in:
Miroslav Stampar 2017-10-12 15:08:09 +02:00
parent 3ca4b7c0a9
commit 12b331170b

View File

@ -849,9 +849,9 @@ def dictionaryAttack(attack_dict):
try:
if choice == '2':
message = "what's the custom dictionary's location?\n"
_ = readInput(message)
if _:
dictPaths = [readInput(message)]
dictPath = readInput(message)
if dictPath:
dictPaths = [dictPath]
logger.info("using custom dictionary")
elif choice == '3':
message = "what's the list file location?\n"