From aab4fdc02dfbaa70b3db41a3811e66483bc410b8 Mon Sep 17 00:00:00 2001 From: hakril Date: Sun, 2 Feb 2025 16:35:16 +0100 Subject: [PATCH] Try new handle method for CurrentProcessReadSyswow --- windows/syswow64.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/syswow64.py b/windows/syswow64.py index fdb23f5..01af0a2 100644 --- a/windows/syswow64.py +++ b/windows/syswow64.py @@ -171,7 +171,8 @@ class CurrentProcessReadSyswow(process.Process): bitness = 64 def _get_handle(self): - return winproxy.GetCurrentProcess() + # return winproxy.GetCurrentProcess() + return 0xffffffffffffffff def __del__(self): pass