demolish-linux

Crates.iodemolish-linux
lib.rsdemolish-linux
version0.1.1
created_at2025-09-12 09:51:30.630218+00
updated_at2025-09-12 12:11:45.295425+00
descriptionDestroy a Linux system safely from inside, possible even over SSH. (rm -rf / with more perfection)
homepagehttps://github.com/menhera-org/demolish-linux
repositoryhttps://github.com/menhera-org/demolish-linux
max_upload_size
id1835474
size12,188
Yuka MORI (metastable-void)

documentation

README

demolish-linux

This is a simple program run as root, that destroys a Linux installation from inside.

This program clears the root disk of a Linux installation, safely and without disruptions. It does not interfere with EFI/BIOS/firmware variables, so it is safe.

In short, this is a tool to do rm -rf / more perfectly.

WARNING

This program destroys the OS and data of the system it runs on.

Only run this when you are sure that you want to destroy the system.

Installation

Download the binary and copy it to the system you want to destroy.

Or build one yourself:

cargo install demolish-linux
scp ~/.cargo/bin/demolish-linux user@server:/tmp/

Usage

This assumes that you copied the program into /tmp/demolish-linux.

If your system's root disk is at /dev/sda (find your one with lsblk):

# If nessesary
chmod +x /tmp/demolish-linux

# as root (UID 0)
/tmp/demolish-linux /dev/sda

# and done!

# If you use SSH to connect to the system, the connection will be closed,
# but the cleanup will continue to the end.
Commit count: 9

cargo fmt