3 ms·
piping to bash as an install method? didn't we decide this was a really really bad idea?
by marcus_holmes 11y ago
piping to bash as an install method?
didn't we decide this was a really really bad idea?
- deleted 11y ago[deleted]
- aeze 11y agoIt could definitely be dangerous, but nothing is stopping you from inspecting the script before you run it.
- dguaraglia 11y agoNot saying you are wrong (you are not, you technically can download the script in one step, read it and then feed the local copy to bash) but someone posted a proof of concept a couple months ago that used user agent sniffing to potentially fool people into reading one thing and running another if they used the browser to read the source but curl to pipe the script into bash.
- aeze 11y agoI wasn't aware of that, thanks.