Last active
June 12, 2018 23:49
-
-
Save jgamblin/611d272d5356b2da28c9144fc211692c to your computer and use it in GitHub Desktop.
MAC Address Randomization for MacOS
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
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