mirror of
https://github.com/28Zaaky/khaos-c2
synced 2026-07-22 12:18:04 +00:00
Update inject_stub.c
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
#include "inject.h"
|
||||
|
||||
/* Lean-build stubs — inject capability excluded via -DLEAN.
|
||||
* inject_nt_open_process is still called by getsystem/spawn/token;
|
||||
* returning NULL causes those callers to fail gracefully. */
|
||||
|
||||
DWORD inject_find_target(void) { return 0; }
|
||||
HANDLE inject_nt_open_process(DWORD pid, DWORD access) { (void)pid; (void)access; return NULL; }
|
||||
int inject_remote(DWORD pid, const BYTE *sc, SIZE_T n) { (void)pid; (void)sc; (void)n; return -1; }
|
||||
|
||||
Reference in New Issue
Block a user