Fix AARCH64 MachO Generation
This updates the exe util to properly generate stageless aarch64 macho payloads. I've also added comments on how to assemble the aarch64 stages.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Compile: clang stage_mettle.s
|
||||
// Shellcode: objdump -d a.out | cut -d ' ' -f 2-5
|
||||
.equ SYS_RECVFROM, 0x200001d
|
||||
.equ SYS_MPROTECT, 0x200004a
|
||||
.equ SYS_MMAP, 0x20000c5
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Compile: clang stager_sock_reverse.s
|
||||
// Shellcode: objdump -d a.out | cut -d ' ' -f 2-5
|
||||
.equ SYS_RECVFROM, 0x200001d
|
||||
.equ SYS_MPROTECT, 0x200004a
|
||||
.equ SYS_CONNECT, 0x2000062
|
||||
|
||||
Reference in New Issue
Block a user