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: try:
if choice == '2': if choice == '2':
message = "what's the custom dictionary's location?\n" message = "what's the custom dictionary's location?\n"
_ = readInput(message) dictPath = readInput(message)
if _: if dictPath:
dictPaths = [readInput(message)] dictPaths = [dictPath]
logger.info("using custom dictionary") logger.info("using custom dictionary")
elif choice == '3': elif choice == '3':
message = "what's the list file location?\n" message = "what's the list file location?\n"