Created
March 10, 2022 12:46
-
-
Save fastfingertips/7bb614dc5794f2fb64d6e06f8c9dc40c to your computer and use it in GitHub Desktop.
lists saved wlan passwords
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once you have PowerShell open, paste the following command and press Enter:
IEX (Invoke-WebRequest -Uri "gg.gg/pswlan").Content