Skip to content

Instantly share code, notes, and snippets.

@mfukar
Created May 13, 2012 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfukar/2687583 to your computer and use it in GitHub Desktop.
Save mfukar/2687583 to your computer and use it in GitHub Desktop.
pctf '12 - supercomputer patches
; 0x400ef8:
mov rax,qword [rbp+0x20]
mov edx,eax
sar edx,0x1f
xor eax,edx
sub eax,edx
cdqe
mov qword [rbp-0x8],rax
imul rax,qword [rbp+0x18]
add qword [rbp+0x10],rax
jmp 0x2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment