4 ms·
I really don’t like that the page asks users to blindly curl and execute a script that then curl and executes another script all to run a one line `ifconfig` co
by macshome 4y ago
I really don’t like that the page asks users to blindly curl and execute a script that then curl and executes another script all to run a one line `ifconfig` command.
Why not just share the command?
- system2 4y agowhile true; do if ifconfig awdl0 |grep -q "<UP"; then (set -x; ifconfig awdl0 down) fi sleep 1 done ---------------- LOL
- IfOnlyYouKnew 4y agoI thought we’d gotten over this thing where people thing they appear smart because they copy & paste instead of using curl?
- clysm 4y agoIt's not about being "smart". It's a completely unnecessary complication in this case.
- more_corn 4y agoAnd a complication that is bad practice because a malicious party can detect the blind handoff to shell and serve malware. e.g. wget file.sh ; vi file.sh and you get safe code curl file.sh | bash and you get malware. This attack requires a malicious server, but it’s still bad practice.