Skip to content

Instantly share code, notes, and snippets.

@ojpojao
Created October 14, 2020 19:02
Show Gist options
  • Save ojpojao/5ffd229114ca54261f4907d815e6dfa9 to your computer and use it in GitHub Desktop.
Save ojpojao/5ffd229114ca54261f4907d815e6dfa9 to your computer and use it in GitHub Desktop.
Gen SHA512 password shadow with Python3 and Linux
python -c "import crypt, getpass; print(crypt.crypt(getpass.getpass(), crypt.mksalt(crypt.METHOD_SHA512)))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment