3 ms·
How is that any safer?
by esafak 9mo ago
How is that any safer?
- godelski 9mo agoFirst off, I never used sudo... Second off, you're not steaming into bash Third, you gotta read between the lines a little. I used some convenience considering my audience is programmers. Don't use && or shove && `less foo.sh` in the middle. There's a million options here
- fc417fc802 9mo agoDon't take the example overly literally. Saving to file means you can read it before executing it. That aside, it protects you from this gaping hole of an exploit mechanism. https://news.ycombinator.com/item?id=17636792 https://news.ycombinator.com/item?id=17636792