Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "root"


9 Evil Bash Commands Explained

  • I remember using and understanding a terminal for the first time: That feeling when you realize that you are able to reach every file, run every program and fully control the whole system by simply typing something into a black window.
  • So if an evil person adds this alias to your open bash when you're afk and you want to cd through your file system, you will quickly notice a strange behavior...
  • It's surprising how such an attack can be executed with a command of just 12 Bytes!
  • If the first file is the file you want to compress, it gets completely destroyed, because tar starts creating the archive by overwriting the first given file and realizes only afterwards, that the second given file doesn't exist.
  • This is especially annoying if you wanted to make a backup of a file and used the wrong order of arguments...
  • Most of the commands above need root privileges to be executed.

save | comments | report | share on


9 Evil Bash Commands Explained

  • I remember using and understanding a terminal for the first time: That feeling when you realize that you are able to reach every file, run every program and fully control the whole system by simply typing something into a black window.
  • So if an evil person adds this alias to your open bash when you're afk and you want to cd through your file system, you will quickly notice a strange behavior...
  • It's surprising how such an attack can be executed with a command of just 12 Bytes!
  • If the first file is the file you want to compress, it gets completely destroyed, because tar starts creating the archive by overwriting the first given file and realizes only afterwards, that the second given file doesn't exist.
  • This is especially annoying if you wanted to make a backup of a file and used the wrong order of arguments...
  • Most of the commands above need root privileges to be executed.

save | comments | report | share on