Last active
December 28, 2015 02:29
-
-
Save tkuchiki/7427998 to your computer and use it in GitHub Desktop.
php で /etc/shadow の hash 生成 (5.3.2 or later)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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