MD5 know the password but not salt
#1
Hey there,

I've been given a problem I'm trying to figure out. I've been given two hash's that have the same password but both are different as each has a unique 'salt'. Said hash is an MD5 string. I was wondering the best way to configure the input to account that the salt would be prepended or appended to the actual password to potentially speed up the hash checks. Right now I start it at an increment of 6 for char length as I know the password is five characters (all lowercase alphabetical). The rest of it is what is unknown.

Any thoughts on how to optimize the hashcat mask attack for this?
#2
yes, but you need to know which algo is used. md5, per default, doesn't support a salt.