Skip to content

Instantly share code, notes, and snippets.

@hattwj
Last active January 2, 2016 17:49
Show Gist options
  • Save hattwj/8339493 to your computer and use it in GitHub Desktop.
Save hattwj/8339493 to your computer and use it in GitHub Desktop.
Mac Address Spoofer
# http://www.commandlinefu.com/commands/view/745/generat-a-random-mac-address
MAC=`(date; cat /proc/interrupts) | md5sum | sed -r 's/^(.{10}).*$/\1/; s/([0-9a-f]{2})/\1:/g; s/:$//;'`
# http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/
busybox iplink set eth0 $MAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment