Hacker News new | ask | show | jobs
by IfOnlyYouKnew 1282 days ago
I thought we’d gotten over this thing where people thing they appear smart because they copy & paste instead of using curl?
1 comments

It's not about being "smart". It's a completely unnecessary complication in this case.
And a complication that is bad practice because a malicious party can detect the blind handoff to shell and serve malware. e.g. wget file.sh ; vi file.sh and you get safe code curl file.sh | bash and you get malware.

This attack requires a malicious server, but it’s still bad practice.