php crypt brute force...
Posted: Sat Oct 24, 2009 5:39 pm
Hi guys,
A guy at work gave me a challenge: simple task.
I have a php crypt() hash, example: 1j3c5JNdu4gxU
I know the salt which was used: 1jtest
I need to reverse the crypt function to find the original password.
I know crypt is not reversible, and hence therefore need to brute force. I know that crypt() only uses max. 8 characters.
So:
1-8 characters. Salt known.
I have tried to write a for(for(for(xxxxx))) to generate the different hashes, but its too hard for my PC to handle..
Do you guys have any suggestions on how to optimize the process? is there any weaknesses in php crypt() that can be used? or do I just need a supercomputer to do the math for me??
Thanks in avance.
A guy at work gave me a challenge: simple task.
I have a php crypt() hash, example: 1j3c5JNdu4gxU
I know the salt which was used: 1jtest
I need to reverse the crypt function to find the original password.
I know crypt is not reversible, and hence therefore need to brute force. I know that crypt() only uses max. 8 characters.
So:
1-8 characters. Salt known.
I have tried to write a for(for(for(xxxxx))) to generate the different hashes, but its too hard for my PC to handle..
Do you guys have any suggestions on how to optimize the process? is there any weaknesses in php crypt() that can be used? or do I just need a supercomputer to do the math for me??
Thanks in avance.