Log in

View Full Version : Algorithm Help


Nebster
September 30th, 2006, 02:47
I've had a program I've been trying to get the algorithm for but I don't get it

By the way, I'm not supposed to crack it,
just find a key for the User j0E0gEE#7!
and the hash (I think it's a hash of the password)
7ba756f7fda604867862e8ff71216f07

I've also attached it just incase you don't get it

The bit on the right is my notes/Comparing
eg XOR AL DL 6D
is
AL XOR DL has to equal 6D
I think the main bit of code is:

Code:
AL=(6th digit password)
DL=(10th char user)
XOR AL DL 6D

CL=(4th digit password)
AL=(3rd char user)
Or CL AL 6D

MOVSX EDX (4th char user)
MOVSX ECX (5th digit password)
MOVSX EAX AL (3rd user)
ADD EDX EAX (4th and 3rd) ECX(5th pass)





AL=(8th user)
CL=(10th pass)
CMP AL CL AL=CL

MOVSX EDX (9th user)
MOVSX ECX (8th pass)
MOVSX EAX AL (8th user)
ADD EDX EAX EDX>ECX

CL=(5th User)
AL=45
CMP CL,67
CMP (6th User) AL ===

CMP (2nd pass) 47 ===

CMP (9th pass) 4B ===

CMP (7th User) AL ===

MOVSX EDX (3rd Pass) Set EDX To j
MOVSX EAX (1st Pass) Set EAX To i
MOVSX ECX (7th Pass) Set ECX To k
EDX=EDX*EAX EDX*=EAX
MOVSX EAX (2nd User) Set EAX to 0(30)
ADD EDX ECX EDX+=ECX
ECX (1st User) Set ECX To i
EAX = EAX*ECX EAX*=ECX
CMP EAX EDX ===

POP ESI
TEST EBP EBP
POP EBP

LLXX
September 30th, 2006, 15:35
Your "code" doesn't make any sense.

Posting the output of a disassembler such as IDA would've been better than to try to "simplify" it by removing lines and changing it, since you probably removed something critical in the process.

Nebster
October 1st, 2006, 12:26
Quote:
[Originally Posted by LLXX]Your "code" doesn't make any sense.

Posting the output of a disassembler such as IDA would've been better than to try to "simplify" it by removing lines and changing it, since you probably removed something critical in the process.



They were just my notes, some people might understand them, some won't.
That's why I included the file aswell

fr33ke
October 1st, 2006, 15:13
See attached text for an analysis of the algorithm. Don't worry, there is enough work left for you

naides
October 1st, 2006, 16:07
Now, that is deep fr33ke!

1. Was this done by true blood reversing or you took some short cuts. . .

2. If you posted a commented version of the disasm code, it would look even better. . .

fr33ke
October 1st, 2006, 17:10
1. It's pure Zen.
2. Here you go.