How to Reveal WiFi Pasword

If you are on the search, wanting to get password of your WiFi network, here is the commend line code that will reveal the password of the WiFi that you are currently connected to.

Normally as soon as you connect to a wireless network using password (not via captive portal), your password will be stored in a location of your computer.
Thanks to Thorin Klosowski that shew how to reveal password of the currently connected WiFi network with lifehackers.

Like I said, you don't need any software program to do just this. All you need is the command line in windows or Terminal in Mac

The code for revealing the WiFi password  is quite different in Windows and in Mac OS.

--> If you are on Windows OS: open your Command Line and type the code below as is but change "wireless_name" with the name of the wireless you are currently connected to.

netsh wlan show profile name=wireless_name key=clear

--> If you use Mac OS X: open your Terminal and type the code below as is but change "wireless_name" with the name of the wireless network you are currently connected to.

security find-generic-password -ga wireless_name | grep password

Its as easy as this. copy and past (or type in) the above commends and press enter or return key to execute.

Comments