mirror of
https://github.com/violet-devsec/win-shellcode-dev
synced 2026-06-06 16:54:33 +00:00
Code to exit from execution
This commit is contained in:
@@ -350,6 +350,12 @@ CODE = (
|
||||
#" sub rsp, 0x20 ;" # Make some adjustment on the stack
|
||||
" call rbx ;" # Call the entry point
|
||||
#" add rsp, 0x20 ;"
|
||||
"exit_shellcode: "
|
||||
" mov rcx, 0xffffffffffffffff ;"
|
||||
" xor rdx, rdx ;"
|
||||
" call qword ptr [rbp+0x20] ;"
|
||||
"dll_base: "
|
||||
" nop ;"
|
||||
)
|
||||
|
||||
ks = Ks(KS_ARCH_X86, KS_MODE_64)
|
||||
|
||||
Reference in New Issue
Block a user