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:
usiegl00
2023-03-04 10:32:05 +09:00
parent 8c4c260911
commit 8a5442f7f0
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -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