Created
March 1, 2010 01:14
-
-
Save mrchrisadams/317987 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
# lets create a password first: | |
chrisadams@brie[~] | |
[1:11]:openssl passwd -1 fred | |
$1$/1w0JaZM$IaBQcL34WrpY0MTGB2wYq/ | |
$1$/1w0J.......................... | |
# and now, if we select the first 8 characters (our salt, $1$/1w0J) | |
# we should be able to recombine it with the the password to | |
# get back our initial hash: | |
chrisadams@brie[~] | |
[1:11]:openssl passwd -1 -salt $1$/1w0J fred | |
$1$$/1w0J$HGg4kh9PkoPWxIHJcc05V/ | |
# .... | |
1st hash: $1$/1w0JaZM$IaBQcL34WrpY0MTGB2wYq/ | |
2nd hash: $1$$/1w0J$HGg4kh9PkoPWxIHJcc05V/ | |
# D'oh! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment