Source code
[!] Important : Make sure to use disk encryption for all folders that contain information you want to be private. Otherwise they will get it anyway. Full disk encryption is the easiest and surest option if available Tip : Additionally, you may use a cord to attach a USB key to your wrist. Then insert the key into your computer and start usbkill. If they steal your computer, the USB will be removed and the computer shuts down immediately. Feature List (version 1.0-rc.4) Compatible with Linux, BSD and OS X. Shutdown the computer when there is USB activity. Customizable. Define which commands should be executed just before shut down. Ability to whitelist a USB device. Ability to change the check interval (default: 250ms). Ability to melt the program on shut down. RAM and swap wiping. Works with sleep mode (OS X). No dependency except secure-delete iff you want usbkill to delete files/folders for you or if you want to wipe RAM or swap. Sensible defaults Supported command line arguments (partially for devs): -h or --help: show help message, exit. --version: show version of the program, exit. --no-shut-down: if a malicious change on the USB ports is detected, execute all the (destructive) commands you defined in settings.ini, but don’t turn off the computer. --cs: Copy program folder settings.ini to /etc/usbkill/settings.ini
Excerpt from the source-code README · 2,543 chars · not written by Vinony