3 ms·
Take a look at the install script. It's not so complicated, pretty much only download a tar.gz. So why using curl?
by wired_devil 10y ago
Take a look at the install script. It's not so complicated, pretty much only download a tar.gz. So why using curl?
- hso1 10y agoDid you know that a malicious server can detect if you are piping to a shell and serve a completely different thing? D:
- JonnieCache 10y agoHow so? By looking for a curl UA?
- hso1 10y agoNo. The shell is slower processing the download. You can detect this on the server. See https://news.ycombinator.com/item?id=11532599 https://news.ycombinator.com/item?id=11532599
- deleted 10y ago[deleted]
- hk__2 10y ago> It's not so complicated, pretty much only download a tar.gz. So why using curl? Because it goes further than just downloading a .tar.gz. It checks your OS and its dependencies; download the right tarball; check it has an install script; run the install script.