Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: How to encrypt password with wpa2?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I encrypt a text password into a wpa2 hash. I thought I'd have a go at then decrypting using HC?
(08-13-2019, 10:01 PM)Ar76 Wrote: [ -> ]How do I encrypt a text password into a wpa2 hash. I thought I'd have a go at then decrypting using HC?

Open your routers web interface, change it to have WPA2 TKIP/AES encryption and enter a password. Use tools to obtain the handshake of your own routerĀ and decrypt with hashcat using either PMKID or WPA2 hashmodes.
Is there no way of doing it programmatically, c++ or whatever?
you could use tools/test.pl for this

Code:
echo hashcatrocks | perl tools/test.pl passthrough 2500 | base64 -d > my.hccapx

btw: tools/test.pl is within the hashcat folder (source code), but you also need the perl modules in tools/test_modules/ so I recommend just cloning the hashcat git repo with
Code:
git clone https://github.com/hashcat/hashcat/
cd hashcat
I assume passthrough is the password if not wheres the password to be encrypted?
In philsmd example the string 'hashcatrocks' is the password. But please, stop using the word encrypt, it hurts.
(08-14-2019, 11:00 AM)atom Wrote: [ -> ]In philsmd example the string 'hashcatrocks' is the password. But please, stop using the word encrypt, it hurts.

So what's the correct terminology?
If I use this generator I get a raw psk key, how would I convert this to a .cap or .hccapx file so it can be understood by HC?

https://www.wireshark.org/tools/wpa-psk.html
Take a look at hcxtools and hcxkeys. The suite contains various converters (except converters which are able to flood online hashcrackers with fake hashes). If you would like to learn how it (PBKDF2) works, just do a code walk through the sources:
https://github.com/ZerBea
(08-14-2019, 06:33 PM)Ar76 Wrote: [ -> ]
(08-14-2019, 11:00 AM)atom Wrote: [ -> ]But please, stop using the word encrypt, it hurts.

So what's the correct terminology?


to hash