Created
October 21, 2016 01:35
-
-
Save igorhrq/9e13a2b30e29f80bda8209f839ade9f4 to your computer and use it in GitHub Desktop.
This file contains 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
use Getopt::Std; | |
getopts("u:p:",\%options); | |
$user = $options{'u'}; | |
$password = $options{'p'}; | |
$data = crypt($password,'$1$'.crypt($password,rand(100)).'$'); | |
print $user . ":" . $data . ":::::::\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment