mirror of
https://github.com/aahmad097/AlternativeShellcodeExec
synced 2026-06-06 15:14:28 +00:00
removed unnecessary getcurrentprocess op
This commit is contained in:
@@ -81,8 +81,6 @@ typedef NTSTATUS(__stdcall* _LdrEnumerateLoadedModules)(
|
||||
|
||||
int main() {
|
||||
|
||||
HANDLE hProcess = ::GetCurrentProcess();
|
||||
|
||||
LPVOID address = ::VirtualAlloc(NULL, sizeof(op), MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);
|
||||
memcpy(address, &op[0], sizeof(op));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user