Skip to content

Instantly share code, notes, and snippets.

@k0nserv
Last active August 10, 2017 23:20
Show Gist options
  • Save k0nserv/a64241c89b5f12359da2bed6b347c932 to your computer and use it in GitHub Desktop.
Save k0nserv/a64241c89b5f12359da2bed6b347c932 to your computer and use it in GitHub Desktop.
Check a password from Troy Hunt's 306m leaked passwords on the command line
LC_ALL=C echo -n "password" | openssl sha1 | tr '[:lower:]' '[:upper:]' | xargs -I '{}' look {} pwned-passwords-1.0.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment