Created
August 1, 2017 15:55
-
-
Save RyanThompson/8aee853fb6f1c6936cc79f74ab597d62 to your computer and use it in GitHub Desktop.
Spoof MAC Address
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
# Get new MAC address. | |
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/./0/2; s/.$//' | |
# Assign new MAC address. | |
sudo ifconfig en0 ether {$MAC} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Handy for airport WiFi security.