Created
October 17, 2018 07:08
-
-
Save lucasbento/78e52e78a5d9e377721e26f5ebbcb399 to your computer and use it in GitHub Desktop.
Use more than 15 minutes of free wi-fi :)
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
#!/bin/bash | |
newMACAddress=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') | |
ifconfig en0 ether $newMACAddress | |
echo "🔥 new MAC address: $newMACAddress" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment