What is my password?
#1
Run this:
Code:
hashcat.exe -m 1000  --potfile-disable 5e486282398373e0b4bedf01db16b795 -a 3 P?b?bsztorZs201 --quiet

It will show:

5e486282398373e0b4bedf01db16b795:PásztorZs201

If I open the potfile in a hex editor, I have
Code:
50 C3 A1 73 7A 74 6F 72 5A 73 32 30 31
P  à ¡  s  z  t  o  r  Z  s  2  0  1  

But, if I try to replicate it in python with this code:
Code:
import hashlib, binascii
val = bytearray.fromhex("50c3a1737a746f725a73323031")
hashcalc = binascii.hexlify(hashlib.new('md4', val).digest()).decode()
print(f"{hashcalc} != 5e486282398373e0b4bedf01db16b795")
# d65e9927549a762507bae550ba54969a != 5e486282398373e0b4bedf01db16b795

It will not work, but the same code worked for all other password without non-english character! 

How to force hashcat to print the $HEX[] format? What encoding mistake I am doing?
Reply


Messages In This Thread
What is my password? - by rodrigo.Brasil - 08-11-2023, 05:12 PM
RE: What is my password? - by Snoopy - 08-11-2023, 06:35 PM
RE: What is my password? - by rodrigo.Brasil - 08-11-2023, 08:49 PM
RE: What is my password? - by rodrigo.Brasil - 08-11-2023, 09:14 PM
RE: What is my password? - by Snoopy - 08-14-2023, 12:40 PM
RE: What is my password? - by Snoopy - 08-14-2023, 01:10 PM