Skip to content

Instantly share code, notes, and snippets.

@sadegh
Created April 11, 2018 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sadegh/2cc9d93cadef39d6d0dd713d253debdd to your computer and use it in GitHub Desktop.
Save sadegh/2cc9d93cadef39d6d0dd713d253debdd to your computer and use it in GitHub Desktop.
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport --disassociate
sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/./0/2; s/.$//')
networksetup -detectnewhardware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment