Comment on If you use Emudeck to play Wii U games, you may have malware
thingsiplay@lemmy.ml 4 days agoUnless the option –no-preserve-root is given, it should not execute.
Comment on If you use Emudeck to play Wii U games, you may have malware
thingsiplay@lemmy.ml 4 days agoUnless the option –no-preserve-root is given, it should not execute.
elvith@feddit.org 4 days ago
Fun fact:
rm -rf /requires—no-preserve-rootto work whereasrm -rf /*doesn’t.That’s because the
/*gets expanded by the shell before the command runs and it only sees the request to delete/var,/dev,/home,/usr,… recursively but not/specifically.On another note: This line in the code doesn’t run through a shell and thus this won’t work and it just tries to delete the literal path of
/*recursively - and thus fails to do any damage…