Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty much. Is rm blacklisted? OK. How about bash -c "rm"? cp? mv? vim?

...? :D



Yah, a whitelist of commands which includes bash would probably be best. You'd be fine using it and can simply switch to chainsaw mode by adding bash to the command




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: