Root-me.org

Hash SHA-2

We got a hash to decipher then we need to take that password and hash it into sha-1 to find the right password.

The hash is :

96719db60d8e3f498c98d94155e1296aac105ck4923290c89eeeb3ba26d3eef92

If you try to parse it anywhere you’ll get an error. That’s because it’s in hex and there’s a letter k that does not belong there. We need to take it out.

The new hash will be:

96719db60d8e3f498c98d94155e1296aac105c4923290c89eeeb3ba26d3eef92

We can use the following website to crack it:

The password is 4dM1n, we now need to hash it with sha-1.

echo "4dM1n" > password
 
sha1sum password
3ccb840569c14d7fe96f028bcc23372a5de3c715  password

After trying this it didn’t work. The problem was that echo add a “\n” at the end of the word. That makes it that the hash is not right. We’ll add the option -n to eliminate the new line at the end of the word.

echo -n "4dM1n" | sha1sum 
a7c9d5a37201c08c5b7b156173bea5ec2063edf9  -

We got the right one now.