howtos:extract_wifi_keys_from_windows_desktop
Dump wifi information and keys in the terminal:
powershell -ep ByP -c "(netsh wlan show profiles) | Select-String '\:(.+)$' | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=$name key=clear)}"
Redirect the output to a file:
powershell -ep ByP -c "(netsh wlan show profiles) | Select-String '\:(.+)$' | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=$name key=clear)} > wifipass.txt"
howtos/extract_wifi_keys_from_windows_desktop.txt · Last modified: d/m/Y H:i by 127.0.0.1