#Get Wifi info - assuming your
#scan nearby networks
sudo iwlist wlan0 scan
#Find what wifi networks you are connected too and with what device
iwgetid
#Get info about currently connected wifi networks
sudo cat /etc/NetworkManager/system-connections/"$(iwgetid -r)"
#Get the currently connect SSID and Passphrase
sudo awk -F= '/^(psk|id)/{print $2}' /etc/NetworkManager/system-connections/"$(iwgetid -r)"
#windows wifi passowrds
netsh wlan export profile key=clear
#Where are Windows wifi passwords stored?
#http://securityxploded.com/wifi-password-secrets.php
#in WinXP
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
#Vista and newer
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\{Random-GUID}.xml