02-20-2021, 03:51 PM
(This post was last modified: 02-20-2021, 09:32 PM by pr0ph3t.
Edit Reason: additionnal info
)
Hi everyone !
So I'm testing hashcat on my network, first I tried with a dictionary with 1 word on mode 2500, this was successful.
Next up I used wlangenpmkocl (-a mode) to make a pmk dictionnary with again the same word, mode 2501 this time as 2500 fails (obviously).
It cracks successfully again, but this time the potfile returns the key instead of plaintext.
How do we convert the key back to plaintext ?
(added truncated to hide part of the key)
type hashcat.potfile
e02ede2909ac91cd095ce1fc469f6990a6d[truncated]8c8edda73b4be62f365c53*497448757274735768656e4950:
Thank you very much for the support and the incredible work put into this program.
EDIT: Stumbled on this:
https://miloserdov.org/?p=5167
It answers all the questions except one, what happens if you use rules ? What then ?
Thanks
EDIT2: Ugh the answer is to brute force it with the same rules isn't it ? GAAAHHHH IT'S JUST A GIANT CIRCLE
cat PMK-FILE | cut -d ':' -f 1 | hashcat -m 2501 -w 4 -a 0 HASHFIRE -r RULEFILE
So for any other noobs hopelessly lost I think this is the answer.
So I'm testing hashcat on my network, first I tried with a dictionary with 1 word on mode 2500, this was successful.
Next up I used wlangenpmkocl (-a mode) to make a pmk dictionnary with again the same word, mode 2501 this time as 2500 fails (obviously).
It cracks successfully again, but this time the potfile returns the key instead of plaintext.
How do we convert the key back to plaintext ?
(added truncated to hide part of the key)
type hashcat.potfile
e02ede2909ac91cd095ce1fc469f6990a6d[truncated]8c8edda73b4be62f365c53*497448757274735768656e4950:
Thank you very much for the support and the incredible work put into this program.
EDIT: Stumbled on this:
https://miloserdov.org/?p=5167
It answers all the questions except one, what happens if you use rules ? What then ?
Thanks
EDIT2: Ugh the answer is to brute force it with the same rules isn't it ? GAAAHHHH IT'S JUST A GIANT CIRCLE
cat PMK-FILE | cut -d ':' -f 1 | hashcat -m 2501 -w 4 -a 0 HASHFIRE -r RULEFILE
So for any other noobs hopelessly lost I think this is the answer.