Mar-09-2023, 08:38 PM
Hello team,
I posted a question on General Coding Help, but eventually figured it out by myself.
Tbh I tweaked the code from this link https://medium.com/@cyberdocks2019/passw...d1b5e064d9.
I hope it can be of some help.
I posted a question on General Coding Help, but eventually figured it out by myself.
Tbh I tweaked the code from this link https://medium.com/@cyberdocks2019/passw...d1b5e064d9.
from urllib.request import urlopen import hashlib sha3_512hash = input("[+] Enter sha3-512 Hash value: ") password_list = str(urlopen('https://raw.githubusercontent.com/danielmiessler/SecLists/master/Passwords/Common-Credentials/10-million-password-list-top-1000000.txt').read(), 'utf-8') for password in password_list.split('\n'): guess = hashlib.sha3_512(bytes(password,'utf-8')).hexdigest() if guess == sha3_512hash: print("[+] The password is: "+str(password)) break elif guess != sha3_512hash: continue else: print("The password does not matched in the list…")It can be configured to other hash types by changing sha3_512 on line 8.
I hope it can be of some help.
