Re:Google CTF 2019
by archgoon on Monday June 24, 2019 @04:28AM
(#20261503)
How did you implement the JUMP_TOP instruction? You need to jump to the x86_64 instructions that correspond to the given emoji index; did you implement a jump table?
[ Parent
| on HN ]
Yeah, I put labels corresponding to the original IP throughout and used a jump table.
That's pretty cool! I just transliterated the instructions into C macros; but i didn't bother with the jump tables. The nice thing with this approach is that you can mix vm instructions with c code freely; and get gdb support. I needed that because speeding up via C wasnt enough to decode the full URL and I still needed to do additional reversing.
Was your method fast enough to get all three parts of the URL?