-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Reading and writing Memory on Windows is not working #182
Comments
Writing:
|
You need admin access to write memory to other processes |
I just tested that, still not working, continued tests and Alloc doesnt work either |
Ok, let me check |
Ok, so i cleaned up the code to avoid mistakes and its behaving the same now as with the problem we had with the base address.
This will crash with In Powershell it will freeze the shell |
Ive added error output to the C Code:
and the result: Traceback (most recent call last): |
@rdbo , i found the issue. |
Ok, turns out that "k" isnt getting evaluated correctly on Windows 64bit. I think you found that out already. Changing the Code to :
Worked and is giving me correct output. Unfortunately i have no clue if that impacts other OSes. I will prepare a PR and you can decide if we can implement it like that. |
Consider below snippet:
and the result:
lm_process_t(pid = 2144, ppid = 10420, bits = 64, start_time = 18446743597197879188, path = "C:\Programs\Python311\python.exe", name = "python.exe")
lm_module_t(base = 0x00007FF60E240000, end = 0x00007FF60E25A000, size = 0x000000000001A000, path = "C:\Programs\Python311\python.exe", name = "python.exe")
0x7ff60e240000
None
The text was updated successfully, but these errors were encountered: