PBKDF2-SHA256 Signature unmatched error
#6
You don't need to use JTR to reformat the hash string. Let's say you have a pbkdf2 hash in passlib format (plaintext is "password"):

Code:
$pbkdf2-sha256$29000$9t7be09prfXee2/NOUeotQ$Y.RDnnq8vsezSZSKy1QNy6xhKPdoBIwc.0XDdRm9sJ8

You can easily reformat it with awk:

Code:
gawk '{sub(/^.*-/,"")}$1=$1' FS=\$ OFS=:

Example:

Code:
epixoip@precision:~$ echo '$pbkdf2-sha256$29000$9t7be09prfXee2/NOUeotQ$Y.RDnnq8vsezSZSKy1QNy6xhKPdoBIwc.0XDdRm9sJ8' | gawk '{sub(/^.*-/,"")}$1=$1' FS=\$ OFS=:
sha256:29000:9t7be09prfXee2/NOUeotQ:Y.RDnnq8vsezSZSKy1QNy6xhKPdoBIwc.0XDdRm9sJ8


Messages In This Thread
RE: PBKDF2-SHA256 Signature unmatched error - by epixoip - 10-09-2018, 08:40 PM