WiFi Password Recovery

If we forget WiFi password, we may be able to recover password from the history.

Windows

Open Command Prompt as root privilege like Administrator.

# Show all network names you've accessed and saved
netsh wlan show profile

# Show the details of the specific network including password
netsh wlan show profile name="network-name" key=clear


Linux

ls -al /etc/NetworkManager/system-connections/
cat /etc/NetworkManager/system-connections/example.nmconnection