Skip to content

Instantly share code, notes, and snippets.

@jgamblin
Last active June 12, 2018 23:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgamblin/611d272d5356b2da28c9144fc211692c to your computer and use it in GitHub Desktop.
Save jgamblin/611d272d5356b2da28c9144fc211692c to your computer and use it in GitHub Desktop.
MAC Address Randomization for MacOS
on run {input, parameters}
delay 4
tell application "Terminal"
activate
end tell
tell application "System Events"
delay 0.3
keystroke "sudo spoof randomize en0"
keystroke return
delay 0.5
keystroke "#SADLYYOURPASSWORDHERE"
keystroke return
delay 5
end tell
tell application "Terminal" to quit
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment