Skip to content

Commit 741b904

Browse files
committed
Merge pull request bdamele#1 from kost/win64-fix
Fix for x64 build
2 parents cb54310 + b61598d commit 741b904

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

windows/shellcodeexec/Makefile.v64

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
shellcodeexecvc64.exe: shellcodeexec.obj __exec_payload.obj
2+
link shellcodeexec.obj __exec_payload.obj
3+
4+
shellcodeexec.obj: shellcodeexec.c
5+
cl shellcodeexec.c /Os /TC /c
6+
7+
__exec_payload.obj: __exec_payload.asm
8+
ml64 __exec_payload.asm /c
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.CODE
2+
__exec_payload PROC x:QWORD
3+
mov rax, x
4+
call QWORD PTR[rax]
5+
ret
6+
__exec_payload ENDP
7+
END

0 commit comments

Comments
 (0)