Skip to content

Instantly share code, notes, and snippets.

@tkuchiki
Last active December 28, 2015 02:29
Show Gist options
  • Save tkuchiki/7427998 to your computer and use it in GitHub Desktop.
Save tkuchiki/7427998 to your computer and use it in GitHub Desktop.
php で /etc/shadow の hash 生成 (5.3.2 or later)
php -r 'echo crypt("PASSWORD","$6$".sha1(uniqid(mt_rand(),true)));'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment