Created
August 1, 2018 22:35
-
-
Save joelteply/6822010ed3b4e40402145fa9bb504320 to your computer and use it in GitHub Desktop.
Infinite wifi via mac address reassignment
This file contains hidden or 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
#put in your ~/.bash_profile or ~/.profile and source it | |
showmac="ifconfig en0 | grep ether" | |
genmac="sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/./0/2; s/.$//')" | |
alias newmac="${showmac}; ${genmac}; echo 'switched to'; ${showmac};" | |
#then just run newmac from terminal and reconnect. If need be, clear cookies from your browsers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment