Instantly share code, notes, and snippets.

What would you like to do?
MAC Address Randomization for MacOS
on run {input, parameters}
delay 4
tell application "Terminal"
end tell
tell application "System Events"
delay 0.3
keystroke "sudo spoof randomize en0"
keystroke return
delay 0.5
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