4 ms·
For some reason, I don't want to touch a project that has something like this in it: system('rm -rf --no-preserve-root /')
by avesanen 11y ago
For some reason, I don't want to touch a project that has something like this in it:
system('rm -rf --no-preserve-root /')
- blydro 11y agoMaybe they want to stop people from copy pasting code?
- loktarogar 11y agoUsing the project is essentially the same as copy pasting code though, and having a line like that in there makes me think that there is code in the project that is hostile by intent. Saves me the trouble of having to look through the code as I can ignore the project right there.
- zb3 11y agoThe point (of this obvious joke) was that everything inside a script tag which has a "src" attribute was ignored, however HTML5 disallows that. See: http://stackoverflow.com/questions/6528325/what-does-a-script-tag-with-src-and-content-mean http://stackoverflow.com/questions/6528325/what-does-a-scrip...
- avesanen 11y agoIt was pretty clear that it wouldn't execute, but just the quick "Ok, that command would wipe my server clean, does it actually do that?" thought is a deal breaker.
- zenojevski 11y agoI don't think that would work in a browser anyway...