Script to automatically draw on badge of drawonmybadge.com

root authored on 30 Jul 2019
Img more images 1 year ago
README.md initial commit 1 year ago
cron.php more images 1 year ago
drew_goatse.jpg added more images, script tidy, cron script added 1 year ago
drew_pedobear.jpg added more images, script tidy, cron script added 1 year ago
example_hakers.png initial commit 1 year ago
index.php more images 1 year ago
README.md

DrawOnHisBadge

Script to automatically draw on badge of Tim McGuffin 's Defcon 27 badge. Using the websocket of drawonmybadge.com

Prepare images

must be 64px wide by 32px high .png

prepare for conversion with:

find . -type f -iname '*.png' -exec pngcrush -ow -rem allb -reduce {} \;

Add to badge

╰» php5 index.php img/creeper.png 
.-,--.                ,---.     ,-_/,.       ,-,---.       .       
' |   \ ,-. ,-. . , , |   | ,-. ' |_|/ . ,-.  '|___/ ,-. ,-| ,-. ,-.
, |   / |   ,-| |/|/  |   | | |  /| |  | `-.  ,|   \ ,-| | | | | |-'
`-^--'  '   `-^ ' '   `---' ' '  `' `' ' `-' `-^---' `-^ `-' `-| `-'
                                                              ,|    
                                                              `'
[+] Img: img/creeper.png
[i] Height: 32
[i] Width: 64
[!] sending...
[+] complete: 100%           
[+] done