4 ms·
Have you ever looked at the backend web interface of some of the most popular residential wifi routers? It's shell script. Why? It's a cheap and accessible inte
by peterwwillis 12y ago
Have you ever looked at the backend web interface of some of the most popular residential wifi routers? It's shell script. Why? It's a cheap and accessible interpreted language; no need to clutter up your tiny embedded OS with the huge requirements of php, perl, etc when you have all the tools you need in busybox.
CGI apps execute shell scripts all the time. Even if an app executes an app executes an app executes an app, if that app four layers down runs a shell script, the environment is still passed down. Turtles, dude.
- justincormack 12y agoFortunately they are unlikely to install bash at all on a router.
- peterwwillis 12y agoRouters definitely have shells, it's just a matter of whether it's bash or something else that might also be vulnerable.
- justincormack 12y agoBash is big and bloated, and you already have the busybox sh probably. However apparently some do have bash....