Hacker News new | ask | show | jobs
by jjgreen 1013 days ago
Actually no, the problem with curl | bash is that it can be detected on the server, so if the server is compromised, it can serve you malware and you will never know about it. It is safe(r) to curl > file, inspect the file, then execute it under bash.
1 comments

The result of inspecting such a file is usually a series of disgusted shudders, "this will do WHAT do my machine"?
Sometimes a smile at the clarity and simplicity of the authors shell code, sometimes.
A rare delight but it does happen