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

Skip to content

Commit 12b3311

Browse files
committed
Minor bug fix
1 parent 3ca4b7c commit 12b3311

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/utils/hash.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,9 +849,9 @@ def dictionaryAttack(attack_dict):
849849
try:
850850
if choice == '2':
851851
message = "what's the custom dictionary's location?\n"
852-
_ = readInput(message)
853-
if _:
854-
dictPaths = [readInput(message)]
852+
dictPath = readInput(message)
853+
if dictPath:
854+
dictPaths = [dictPath]
855855
logger.info("using custom dictionary")
856856
elif choice == '3':
857857
message = "what's the list file location?\n"

0 commit comments

Comments
 (0)