Skip to content

Instantly share code, notes, and snippets.

View skade's full-sized avatar
💭
Bringing Rust to safety critical.

Florian Gilcher skade

💭
Bringing Rust to safety critical.
View GitHub Profile
@DouglasSherk
DouglasSherk / mac_address_randomize.sh
Last active August 29, 2015 13:56
MAC Address Randomizer
#!/usr/bin/bash
# You might want to note your old MAC address here. Use this to get it:
# ifconfig en0 | grep ether
MAC_ADDRESS=`openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`
echo "Setting MAC address..."
sudo ifconfig en0 ether $MAC_ADDRESS
ifconfig en0 | grep ether