RaspberryPi Automated USB Eraser

by Craig Mayhew on Thu 31st Jul 2014 under General


Ever needed to securely wipe a USB drive with minimum effort? How about doing it every day? This project hoped to simplify the process. All you need to do is plug in a usb drive and the process starts automatically. A small, low power and low cost box that easily, securely and quickly erases USB drives for re-use.

All you need is a RaspberryPi model A, a nice case, an LED, resistor and some wires.

Wire the LED into pin 7, wire the resistor to the other LED pin, wire the resistor to a ground pin.

Run the following commands

sudo apt-get install usbmount
cd /home/pi/
wget https://raw.githubusercontent.com/craigmayhew/USBCleanser/master/dataObliterator.py
cd /etc/usbmount/mount.d/
wget https://raw.githubusercontent.com/craigmayhew/USBCleanser/master/01_wipe_data
chmod 755 /etc/usbmount/mount.d/01_wipe_data

Restart the RPi and away you go.

Full source code available here: https://github.com/craigmayhew/USBCleanser








0 Comments

1510695063

Latest Blog Posts