anarquiles

Recuperación de contraseñas Wifi

Dec 2nd, 2021
771
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Clear-Host
  2. $WifiInfo=(netsh wlan show profiles)|SLS "\:(.+)$"|%{$SSID=$_.Matches.Groups[1].Value.Trim(); $_}|
  3.     %{(netsh wlan show profile name="$SSID" key=clear)}|SLS "Conte.*:(.+)$"|
  4.         %{$pass=$_.Matches.Groups[1].Value.Trim(); $_}|
  5.             %{[PSCustomObject]@{SSID=$SSID;PASSWORD=$pass}}
  6. $WifiInfo | FT -AutoSize
  7. $WifiInfo | ConvertTo-Json
  8. $WifiInfo | Out-GridView -Title "Recuperacion de contraseñas Wifi"
RAW Paste Data