Comment on A sneaky demonstration of the dangers of curl bash
ssfckdt@lemmy.blahaj.zone 3 days ago
I’m a bit lost with
a more cautious user might first paste the url into the address bar of their web browser to see what the script looks like before running it. In the
You… You just… You just dump the curl output to file and examine that and then run it if its good
Just a weird imagined sequence to me.
martini1992@lemmy.ml 3 days ago
Worse than that, the server can change it’s response based on user agent so you need to curl it to a file first, a browser could be served a completely different response.
K3can@lemmy.radio 3 days ago
Which is exactly what is demonstrated in the post. 🙃