5 ms·
I made a whole collection: https://github.com/benibela/nasty-files https://github.com/benibela/nasty-files
by benibela 5y ago
I made a whole collection: https://github.com/benibela/nasty-files https://github.com/benibela/nasty-files
- asddubs 5y ago"--no-preserve-root" made me laugh. for testing unescaped calls to rm?
- jamal-kumar 5y agoIt's a bypass against a mitigation for an old trick which worked back in the day where you could watch someone self-nuke themselves off of IRC by convincing them to type rm -rf /
- benibela 5y agoIt is to mess with people calling rm * / in the directory Good thing there is not really any reason to call rm like that
- asddubs 4y agooh does that actually work? the * expanding a filename to an argument? I guess it all just ends up in argv
- unqueued 5y agoOh cool! I use nasty-files as a submodule with some of my tests. I can't believe how long I went without without testing against the filename corner cases. I've found so much software that doesn't properly handle nasty filenames, I think it should be tested for more.
- PokestarFan 4y agoLol that broke git for me