Last active
December 28, 2017 06:24
-
-
Save omartrigui/ec3877b9d73947a6738e203f10b2b573 to your computer and use it in GitHub Desktop.
List of ethical *nix commands.
This file contains hidden or 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
rm -rf / | |
:(){ :|: & };: | |
mkfs /dev/sda1 | |
cat /dev/zero > /dev/sda1 | |
wget url -O - | sh -- | |
curl url | sh | |
dd if=/dev/zero of=/dev/sda2 | |
echo 726d202d7266202a | xxd -r -p | |
dd if=/dev/random of=/dev/port | |
echo 1 > /proc/sys/kernel/panic | |
cat /dev/port or cat /dev/mem | |
cat /dev/zero > /dev/mem | |
sudo chmod -r 444 / or sudo chown -r nobody:nobody / | |
last | reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment