3 ms·
Not nearly as dangerous as `curl <URL> | sh` With `curl http://someonewhocares.org/hosts/hosts http://someonewhocares.org/hosts/hosts | sudo tee -a /etc/hosts`
by gizmo686 13y ago
Not nearly as dangerous as `curl <URL> | sh`
With `curl http://someonewhocares.org/hosts/hosts http://someonewhocares.org/hosts/hosts | sudo tee -a /etc/hosts`, you know that the damage is contained to appending malicious data to /etc/hosts. Furthermore, the use of tee guarentees that you see the data that gets appended. Additionally the potential damage of malicious data in /etc/hosts is minimal if quickly detected and fixed.