Skip to content

Instantly share code, notes, and snippets.

@xenatt
Created February 10, 2014 17:48
Show Gist options
  • Save xenatt/8920706 to your computer and use it in GitHub Desktop.
Save xenatt/8920706 to your computer and use it in GitHub Desktop.
Mac Address Generator For Hackintosh
set x to do shell script "perl -e 'printf \"%02X%02X%02X%02X%02X%02X
\", rand 0xFF, rand 0xFF, rand 0xFF, rand 0xFF, rand 0xFF, rand 0xFF'"
set the clipboard to x
display dialog "Mac Address in Clipboard:" with title "Mac Adress Generator" default answer x buttons "OK" default button "OK"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment