07-02-2016, 10:52 PM
Hi there, first time post. I hope this isn't an odd question to start off with.
I have been using oclhashcat on and off for testing various hash types, but I have run into one which I am unsure how to approach. I have worked out the method used to generate the hash, and have tested a known string against it successfully, but I do not know how to go about testing unknown keys using this tool now I have the method.
Some details:
The hash should be generated via: md5(CONCAT(password_salt, md5(password), md5(password_salt)
As an example, I have used key 12345678 and salt a44df81d4c:
(salt) = a44df81d4c
md5(12345678) = 25d55ad283aa400af464c76d713c07ad
md5(salt) = 8423c5011319fe3d0ba4cf4b1d9fd8e2
md5(a44df81d4c25d55ad283aa400af464c76d713c07ad8423c5011319fe3d0ba4cf4b1d9fd8e2) = 17312b4dbe847ad315bd3e04a4144c91 - the expected result.
I may be wrong but I believe this would correspond to: md5($salt.md5($pass).md5($salt)) which I see is not available (unless I missed it?).
Am I overthinking this to assume I will need to request a new method? Or is there a simpler way to do this sort of custom type? I would hate to request a feature that is unnecessary or a waste of the dev's time.
Thankyou for reading this post, any help would be appreciated.
I have been using oclhashcat on and off for testing various hash types, but I have run into one which I am unsure how to approach. I have worked out the method used to generate the hash, and have tested a known string against it successfully, but I do not know how to go about testing unknown keys using this tool now I have the method.
Some details:
The hash should be generated via: md5(CONCAT(password_salt, md5(password), md5(password_salt)
As an example, I have used key 12345678 and salt a44df81d4c:
(salt) = a44df81d4c
md5(12345678) = 25d55ad283aa400af464c76d713c07ad
md5(salt) = 8423c5011319fe3d0ba4cf4b1d9fd8e2
md5(a44df81d4c25d55ad283aa400af464c76d713c07ad8423c5011319fe3d0ba4cf4b1d9fd8e2) = 17312b4dbe847ad315bd3e04a4144c91 - the expected result.
I may be wrong but I believe this would correspond to: md5($salt.md5($pass).md5($salt)) which I see is not available (unless I missed it?).
Am I overthinking this to assume I will need to request a new method? Or is there a simpler way to do this sort of custom type? I would hate to request a feature that is unnecessary or a waste of the dev's time.
Thankyou for reading this post, any help would be appreciated.