Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rm -rf / #238

Open
savage-alex opened this issue Dec 8, 2021 · 5 comments
Open

Add rm -rf / #238

savage-alex opened this issue Dec 8, 2021 · 5 comments

Comments

@savage-alex
Copy link

I have seen API fuzzers using rm -rf / in query params.

I expect this request will blow up like the drop table thread but wanted to suggest it non the less

@Bumpf
Copy link

Bumpf commented Aug 6, 2022

maybe the bash fork bomb: :(){ :|:& };:

@MarkJeronimus
Copy link

MarkJeronimus commented Sep 14, 2022

rm -rf / doesn't do anything on modern distros. You also need --no-preserve-root.

@nabijaczleweli
Copy link

rm -rf / is by definition forbidden from doing anything – https://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html#tag_20_111_03 para. 2.

@janfri
Copy link

janfri commented Sep 15, 2022

rm -rf / doesn't do anything on modern distros. You also need --no-preserve-root.

"on modern distros" inasmuch there is a rest risk (there exists a lot of old systems out there) ;-)

@elsamuko
Copy link

elsamuko commented Apr 1, 2023

I prefer touch -- "-rf ~". Try removing this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants