Skip to content

Instantly share code, notes, and snippets.

@askedrelic
Created March 8, 2013 05:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save askedrelic/5114346 to your computer and use it in GitHub Desktop.
Save askedrelic/5114346 to your computer and use it in GitHub Desktop.
#!/bin/sh
security find-generic-password -a "$1" -g 2>&1 | grep password | sed -e "s/password: \"//" -e "s/\"//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment