Linux Secure Delete

From Hack Sphere Labs Wiki
Revision as of 13:23, 18 October 2013 by Webdawg (talk | contribs) (Wipe Drive)

Jump to: navigation, search
sudo apt-get install secure-delete

This has four tools:

srm - securely delete an existing file
smem - securely delete traces of a file from ram
sfill - wipe all the space marked as empty on your hard drive
sswap - wipe all the data from you swap space.

Wipe Drive

dd command

dd if=/dev/zero of=/dev/sdX iflag=nocache oflag=direct bs=4096
  • Progress of DD
while [ 1 ];
  kill -USR1 $(pidof dd)
  sleep 5;