HACKER Q&A
📣 etewiah

What is the risk of output from a url getting run on a console?


I ask this because this url http://mongohouse.com/ returns "sudo rm -rf / > /dev/null 2>&1" but is that just a joke or is there really a risk that it could get run?


  👤 kevsim Accepted Answer ✓
Quite a number of tools as you to do something like:

curl https://someurl.sh | /bin/bash

To install them easily so I guess someone could be tricked into doing that with this URL. Be sure to check those things in browser first before giving them free reign on your system!