This shows you the differences between two versions of the page.
— |
howtos:extract_wifi_keys_from_windows_desktop [d/m/Y H:i] (current) domingo created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Dump wifi information and keys in the terminal: | ||
+ | <code> | ||
+ | powershell -ep ByP -c "(netsh wlan show profiles) | Select-String '\:(.+)$' | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=$name key=clear)}" | ||
+ | </code> | ||
+ | |||
+ | |||
+ | Redirect the output to a file: | ||
+ | |||
+ | |||
+ | <code> | ||
+ | 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" | ||
+ | </code> |