newline as input
#1
Hi! I'm trying to crack a challenge that should be pretty easy but I still can't crack it. I suspect that the hash is created "incorrect", where newline is included in the hashed string.

I think the creator of the challenge missed the echo option "-n" when they generated the hashfile.
echo "<secret-string>" | md5sum | awk '{print $1}' > hashfile
instead of
echo -n "<secret-string>" | md5sum | awk '{print $1}' > hashfile

Is there a way to get oclHashcat to keep the newline character when reading from a dictionary? Or add a "new" newline at the end of every word?

This is my first post here on hashcat forum, this endless ocean of knowledge and expertise. I really hope I have searched the forum thoroughly after previously presented solutions on this topic. In thread #1948 M@LIK shows a solution, but he also says that it "only" works with bruteforce/-a3.

Thanks in advance!


Messages In This Thread
newline as input - by svenne - 11-21-2014, 11:40 AM
RE: newline as input - by epixoip - 11-22-2014, 06:32 AM
RE: newline as input - by philsmd - 11-22-2014, 12:15 PM
RE: newline as input - by svenne - 11-23-2014, 10:51 PM