OMG rm -rf ~ in a valentine bash script and its partly my fault
williamedwardscoder.tumblr.com
OMG rm -rf ~ in a valentine bash script and its partly my fault
1–10 of 38 posts
Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#2Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#3Lesson learned, and it got me into PHP security, but I can't help but feel there are nicer ways to go about giving such an important lesson...
Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#4Also the owner of the script saying that the person should not made a pull request (and a issue) instead is missing the point, not that I agree with a dangerous pull request (in case the owner of the repository is crazy), but the owner of the repository merging the request just because it was a request (instead of a issue) sounds like someone wishing to shit to happen.
It would be like pushing a wedge into the train tracks and blaming the guy (that also had the bad idea) to put the wedge near the tracks.
Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#5This reminds me of the prat that decided to teach me a lesson in PHP security by exploiting my first script & deleting my entire website when I was 15. :( Lesson learned, and it got me into PHP security, but I can't help but feel there are nicer ways to go about giving such an important lesson...
Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#6The repo owner was stupid for not checking what they were merging, and the author is stupid for making the pull request in the first place. If they wanted to prove a point, they should have merged something a little less harmful, like "echo This file could have deleted your home folder. Don't run random scripts from the Internet without inspecting them first."
Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#7Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#8Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#9Congratulations for proving your point by destroying other people's work.
Seriously that's nothing you would expect from a thoughtful person.
Re: OMG rm -rf ~ in a valentine bash script and its partly my fault
#10This reminds me of the prat that decided to teach me a lesson in PHP security by exploiting my first script & deleting my entire website when I was 15. :( Lesson learned, and it got me into PHP security, but I can't help but feel there are nicer ways to go about giving such an important lesson...