News for hackers. Stuff that matters.
Re:Detecting the use of “curl – bash” server side (2016) by carlhjerpe on Wednesday December 09, 2020 @05:32AM (#25357216)
> I wonder why there is such a focus on this `curl|bash` pattern.

Because it's easy to understand, it's a cheap way to look smart on the Internet by bashing people. Also on a lot of servers people might only run ditro packaged packages. More eyes has gone though them so ops people would bash someone for curl | bash on their servers while it's perfectly "acceptable" on client machines.

Re:Detecting the use of “curl – bash” server side (2016) by lock-free on Wednesday December 09, 2020 @10:10AM (#25359236)
I have put several curl|bash things into production and it's done because it's the only way to run installers that work on everything but windows without having to maintain a .deb, .rpm, and brew formula or something.

Often I'll write something like: here's the install steps, or just enter this curl|bash line into your terminal. Guess which users prefer.

People who care can download the script first and/or run it as a different user or in a vm. It's not that scary.

Re:Detecting the use of “curl – bash” server side (2016) by ossusermivami on Wednesday December 09, 2020 @10:52AM (#25359847)
i like it, can you make them available ?
Re:Detecting the use of “curl – bash” server side (2016) by Uehreka on Wednesday December 09, 2020 @10:00AM (#25359130)
This is the answer. It’s the “never use inline styles” of ops: A rule that was once taught for good reasons, and is easy for people who know little else to call out and enforce. Never mind that times have changed and the reasoning that caused people to create these rules in the first place no longer makes sense.