Re:Announcing The Matasano/Square CTF
by toong on Friday January 17, 2014 @05:08AM
(#7075068)
Hint: http://en.wikipedia.org/wiki/Endianness
[ Parent
| on HN ]
Re:Announcing The Matasano/Square CTF
by pythoniclifter on Saturday January 18, 2014 @06:52PM
(#7082789)
Not sure if anyone is still checking comments or not. I'm completely new to reverse engineering, ASM, etc. Looking at the cmp statements I tried the changing the endienness of the address being compared, but I still am not seeing that address. For example, when looking at 'cmp #0x3866, 0x0(r15)', to me this means add 0 to the value of r15 and look up the value at that address and compare that to the value at memory address 0x3866. So I'm changing the endienness of 0x3866 to 0x6683. Is this the correct thought process? Thanks.
It's been a long time since i've written any asm, but I just did this. You're almost correct; 0x3866 contains 2 pieces of information, 38 and 66. so you should end up with 0x6638
http://mspgcc.sourceforge.net/manual/x147.html helped me with this.
Re:Announcing The Matasano/Square CTF
by Ellipsis753 on Saturday January 18, 2014 @11:27AM
(#7081308)
Thank you. I came to this thread for this.