Skip to content

Commit

Permalink
Update 2024-11-10-x64 Assembly & Shellcoding 101 - Part 5.md
Browse files Browse the repository at this point in the history
  • Loading branch information
g3tsyst3m authored Jan 4, 2025
1 parent ad70151 commit a151547
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ and rsp, 0xFFFFFFFFFFFFFFF0
xor rcx, rcx ; RCX = 0
mov rax, [gs:rcx + 0x60] ; RAX = PEB
mov rax, [rax + 0x18] ; RAX = PEB->Ldr
mov rsi,[rax+0x10] ; PEB.Ldr->InMemOrderModuleList
mov rsi,[rax+0x10] ; PEB.Ldr->InLoadOrderModuleList
mov rsi, [rsi]
mov rsi,[rsi]
mov rbx, [rsi+0x30] ; kernel32.dll base address
Expand Down

0 comments on commit a151547

Please sign in to comment.