terça-feira, 15 de janeiro de 2008

Comandos que você NUNCA deve digitar

Com o sucesso do Ubuntu, um dia esse momento iria chegar. E chegou! Segue abaixo uma lista dos comando, via terminal, que você NUNCA deverá digitar! Essa lista serve apenas para aprendizado e leitura!

Repito: NUNCA DIGITE esses comandos. Os estragos serão horrendos!

sudo rm -rf / (This will delete all your files on your system) - Needs administrator rights!
sudo rm -rf . (This will delete the current directory your in) - Needs administrator rights!
sudo rm -rf * (This will delete all the files in the current folder) - Needs administrator rights!
rm -rf * or rm -rf *.* (This will delete all the files in the current folder) - No administrator rights needed!
rm -rf ~/ & (This will destroy your home directory) - No administrator rights needed!

Para apagar seu HD:

sudo mkfs (This will format your hard drive) - Needs administrator rights!
sudo mkfs.ext3 (This will format your hard drive) - Needs administrator rights!
sudo mkfs.bfs (This will format your hard drive) - Needs administrator rights!
sudo mkfs.cramfs (This will format your hard drive) - No administrator rights needed!
sudo mkfs.ext2 (This will format your hard drive) - Needs administrator rights!
sudo mkfs.minix (This will format your hard drive) - Needs administrator rights!
sudo mkfs.msdos (This will format your hard drive) - Needs administrator rights!
sudo mkfs.reiserfs (This will format your hard drive) - Needs administrator rights!
sudo mkfs.vfat (This will format your hard drive) - Needs administrator rights!

Mais códigos maliciosos:

sudo dd if=/dev/zero of=/dev/hda (VERY DANGEROUS COMMAND! It will zero out the whole primary IDE hard drive) (Needs administrator rights)
sudo dd if=/dev/hda of=/dev/hdb (Needs administrator rights)
sudo dd if=something of=/dev/hda (Needs administrator rights)
any_command > /dev/sda
dd if=something of=/dev/sda
:(){:|:&};:
fork while fork


Fonte original deste artigo.


Nenhum comentário: