You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the oldnewthing blogWriteProcessMemory should automatically change the memory permissions so we can write to it without us having to manually change them.
This fails when we test it so we have to wrap write memory ourselves ... why??
The text was updated successfully, but these errors were encountered:
Possible explanation is that the permissions are only changed if the page doesn't have WRITE access already ... this could lead to situations where the page has write but is unwritable for other reasons so the call will still fail unless the permissions are adjusted manually.
trashdbg/trashdbg/win32memory.py
Line 107 in 438e075
According to the oldnewthing blog
WriteProcessMemory
should automatically change the memory permissions so we can write to it without us having to manually change them.This fails when we test it so we have to wrap write memory ourselves ... why??
The text was updated successfully, but these errors were encountered: