Skip to content

Instantly share code, notes, and snippets.

View JburkeRSAC's full-sized avatar

Jesse V. Burke JburkeRSAC

View GitHub Profile
#!/bin/bash
modprobe -r ec_sys
modprobe ec_sys write_support=1
on="\x8a"
off="\x0a"
led(){
echo -n -e $1 | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev/null
@zachflower
zachflower / tor.php
Last active December 28, 2015 20:29
Tor Page Crawler
<?php
/**
* Tor Page Crawler
*
* Download web pages anonymously using the Tor network.
* Usage Example:
* $tor = new Tor();
*
* $tor->setUrl('http://zacharyflower.com');