Re:Count to ten when a plane goes down
by smwht on Tuesday July 22, 2014 @10:59AM
(#8069313)
The important character here is the '>'. This redirects output to a file and overwrites the file. The lrwxrwxrwx will only print an error, but the redirect to the target executable will erase the target.
Re:Count to ten when a plane goes down
by kstenerud on Tuesday July 22, 2014 @11:58AM
(#8069641)
scp was in /usr/bin, so we could at least copy enough basics from another system and recover the rest from a backup. Needless to say we lost the client contract.
For example:
So basically, this zero'd out every executable on the system.