Created
October 27, 2017 14:03
-
-
Save intv0id/ffa89602236b25e5951dad1832bd829e to your computer and use it in GitHub Desktop.
[Secure Wipe an USB Key] Needs to be updated #To_improve
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for n in `seq 7`; | |
do dd if=/dev/urandom of=/dev/sda bs=8b conv=notrunc; | |
done | |
&& | |
dd if=/dev/zero of=/dev/sda bs=8b & | |
disown; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment