From be401eeb1541c585ae8f0ce22e57c7abd7e15671 Mon Sep 17 00:00:00 2001 From: rootacite <1498045907@qq.com> Date: Thu, 23 Oct 2025 16:06:40 +0800 Subject: [PATCH] [feat] new way --- 01/project-hbj-attacker/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01/project-hbj-attacker/src/main.rs b/01/project-hbj-attacker/src/main.rs index 4fae81d..f27af77 100644 --- a/01/project-hbj-attacker/src/main.rs +++ b/01/project-hbj-attacker/src/main.rs @@ -152,7 +152,7 @@ fn inject3( asm.mov(rax, 9u64)?; // Syscall 9 (mmap) - asm.mov(rdi, 1u64)?; // Addr + asm.mov(rdi, 0u64)?; // Addr asm.mov(rsi, 4096u64)?; // Length, we alloc a page (4K) asm.mov( rdx,