Skip to content

Commit 6c9b88f

Browse files
author
mohamed larit
authored
Update crack_hash.py
1 parent 1719510 commit 6c9b88f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

crack_hash.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def hashing(word, algorithm):
3131
python cracker.py -w <hash> -t <type> -f <word list file>
3232
3333
#Example:
34-
python cracker.py -w 7052cad6b415f4272c1986aa9a50a7c3 -t md5 -f wordlist.txt
34+
35+
python cracker.py -w 7052cad6b415f4272c1986aa9a50a7c3 -t md5 -f wordlist.txt
3536
""")
3637
parser.add_option("-w",dest="ha_sh",type="string",help="enter hash string")
3738
parser.add_option("-t",dest="ty_pe",type="string",help="enter type the hash")
@@ -53,7 +54,7 @@ def hashing(word, algorithm):
5354
if ha_sh == result:
5455
print ("\nHash Found: [ {} ] >> word: [ {} ]".format(result,word))
5556
exit(0)
56-
else:
57-
continue
57+
else:
58+
continue
5859

59-
print("\n\thash not found :(\n")
60+
print("\n\thash not found :(\n")

0 commit comments

Comments
 (0)