Grab All WiFi Passwords with just One Line of Code

preview_player
Показать описание
In this video I will show you how you easily can grab network names (SSID) and passwords from all wireless networks.

The command to run:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | % {(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ SSID=$name;PASSWORD=$pass }} | Format-Table -AutoSize

Рекомендации по теме