SHA1 hash with custom Characters in it.
#3
hey,

hashcat is the wrong approach for this. what you basically need is a program that takes some input data or increments some input data and tests the resulting hash digest for the number you're searching. a slow example would be this:

Code:
root@sf:~# perl -MDigest::SHA -e 'my $i = 1; while ($i++) { my $hash = Digest::SHA::sha1_hex ($i); next unless $hash =~ /12345$/; print "$hash:$i\n" }'
b7ad56c1f60c4a92da5baeb09f757d9548c12345:3062
79484ae7a3165b2dadc7d19e3d6f74084e212345:1334921
76b58496be5ef264940af787fbfd380083012345:1945762
4719d198feeeefa52980437f0ba175b32aa12345:2148068
5f9837ee319ca2d1c31ea8f147e54d7c94912345:2377383

It's a very slow solution, don't use it. But it might give you an idea how to do it.


Messages In This Thread
RE: SHA1 hash with custom Characters in it. - by atom - 11-26-2013, 09:58 PM