Guide to Viewing Stored WiFi Passwords in Kali


Intro
Many of us have experienced this situation. You forgot what’s the password of the WIFI that you’re connected to and you want to share it with someone. Fortunately, Kali provides a solution for such cases.
There are many ways of doing so, but for me the easiest way is to check the system connections directory in NetworkManager. To do so we can follow instruction below:
Using NetworkManager directory
We could go change directories or we can just list the contents of the directory that stores information about connections:
First:
ls -l /etc/NetworkManager/system-connections
-rw------- 1 root root 272 Dec 19 10:31 InternetName1
-rw------- 1 root root 291 Sep 26 21:34 InternetName2
If we want to check what’s the password of InternetName1 we could do this:
cat /etc/NetworkManager/system-connections/InternetName1
[connection]
id=InternetName1
uuid=480b06ed-1d12-4cc3-a558-0584ad2ak579
type=802-11-wireless
[802-11-wireless]
ssid=Internet
mode=infrastructure
security=802-11-wireless-security
[802-11-wireless-security]
key-mgmt=wpa-psk
psk=3HEATLANGEA
[ipv4]
method=auto
[ipv6]
method=auto
ip6-privacy=2
We can see lots of information about the network including password. It’s written in the psk line. In our case the password is 3HEATLANGEA.
OUTRO
I hope this guide assists you in resolving these situations efficiently.
Happy hacking!
Subscribe to my newsletter
Read articles from Jonas Satkauskas directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
