Never Ending Security

It starts all here

Retrieving your wifi password from the command line

Since Linux, at least in Ubuntu, retrieve password for your wifi or any wireless networks you’ve connected to before, it is very easy, since the properties of the network configuration, you can access them.

This entry as you said the title is focused on using the command line. Since Ubuntu Linux, for other distributions will equal or somehow very similar, we just run:

sudo cat /etc/NetworkManager/system-connections/ SSID | grep psk=

Where SSID is the name of your connection. I have not tested for all types of configurations, but at least it works for WPA2-PSK.

If you use Mac OS X here have a script that does the above and if you are using Windows this one . I personally have not tried any of these scripts, so you can not say that work.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s