Re:Badassify your terminal and shell
by hackmiester on Wednesday November 05, 2014 @05:50PM
(#8564736)
Please do not pipe code from random downloads into your shell!
[ Parent
| on HN ]
Instead, only run code from random sites that put time into having a legitimate looking UI and/or price tag.
Edit: I do wholeheartedly agree with the revised parent comment. Piping things into your shell is bad practice because it allows malicious and non-malicious risks to your system. In the malicious case, an attacker can very easily serve up an innocent script to your browser and a malicious script to curl/wget. In the non-malicious case, a break in networking midway through the download can truncate commands, turning "rm -rf /opt/coolsoftware/build" into "rm -rf /opt".
Re:Badassify your terminal and shell
by hackmiester on Wednesday November 05, 2014 @06:24PM
(#8564881)
Wow, you made me realize I somehow didn't at all write what I meant. I was referring to piping downloads into a shell. I've updated my comment. Thank you.