This file contains 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
/* This is a wrapper library that will give your server the power of | |
* /dev/null as a service, as seen at http://devnull-as-a-service.com/ | |
* | |
* Compile: | |
* gcc -ggdb -shared -fPIC dnaas.c -ldl -lcurl -o libdnaas.so | |
* | |
* Try: | |
* LD_PRELOAD=./libdnaas.so dd if=/dev/sda of=/dev/null bs=8192 count=16 | |
* | |
* Install: |