How to create a script that does the following....? (multiple hashings)
I'll try to explain what i'm trying to accomplish as detailed as possible;

1) I have an unknown string with keyspace of 8 char alphanum

2) I also have a *partially* known string with a few characters that are unknown [E.G abcdefgh_UNKNOWNPART_ijklmno]

the unknown characters of the partially known string are the uppercase md5 digest of the unknown 8 char alphanum string mentioned above

3) I also have a known md5 digest to compare against

So in essence i have a partially known password string and am trying to bruteforce the unknown portion of it.

So i need to brute force the 8char alphanum with MD5, it needs to be done in the following way:

- md5 hash the unknown 8 char string (1) [keyspace 8 char alphanum]
- convert the resulting md5 digest to all uppercase
- insert the resulting uppercase md5 digest within the *partially* known string(2) mentioned earlier E.G 


- hash this new string with MD5

- Compare the md5 digest of this newly hashed string against our known md5 digest (3) mentioned earlier.

How can this be accomplished with Hashcat, natively?

How much slower will this be than the expected ~1/2 speed of MD5 cracking (Since we're doing md5 twice in one script)

Here is a live simple example

unknown alphanum string = ******

partially known string = abcdef********************************ghijkl

known md5 digest = 1fde66f0c18416f2f7aa94b87f856d66

if our "unknown string" is 12345678, then our partially known string would end up looking like


Therefore :

md5(abcdef25D55AD283AA400AF464C76D713C07ADghijkl) = 1fde66f0c18416f2f7aa94b87f856d66

Messages In This Thread
How to create a script that does the following....? (multiple hashings) - by jmmanogsabju - 01-26-2022, 04:38 AM