From 4b06fcbd7006e3615c1184bf405e4263755328f2 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 17 Apr 2022 10:44:23 +0200 Subject: [PATCH] WOW64 hooking test --- src/runner/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runner/main.cpp b/src/runner/main.cpp index be87b1c..47db47d 100644 --- a/src/runner/main.cpp +++ b/src/runner/main.cpp @@ -67,7 +67,7 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[]) hook_request hook_request{}; hook_request.process_id = _pid; //GetCurrentProcessId(); - hook_request.target_address = (void*)0x14007DCF7; //"My Message!"; + hook_request.target_address = (void*)0x465FF7;//0x14007DCF7; uint8_t buffer[1]; buffer[0] = 0xEB; @@ -80,7 +80,6 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[]) (void)driver_device.send(HOOK_DRV_IOCTL, input); - //MessageBoxA(0, "Press ok to exit!", 0, 0); printf("Press any key to exit!\n"); _getch(); }