| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
process_memory_writer is a Python extension written in Rust using PyO3. It allows reading and writing memory of another process on Windows systems.
The MemoryWriter class enables users to:
python -m venv pyo3
source pyo3/Scripts/activate # On Windowspip install -r requirements.txtmaturin developHere is an example of how to use the MemoryWriter class:
from process_memory_writer import MemoryWriter
# Create a new MemoryWriter instance
writer = MemoryWriter()
# Open a process by name
success = writer.open_process("notepad.exe")
if success:
print("Process opened successfully")
else:
print("Failed to open process")
# Open a process by PID
success = writer.open_process(1234)
if success:
print("Process opened successfully")
else:
print("Failed to open process")
# Set memory data to write
writer.set_memory_data(0x12345678, b"data")
# Start continuous memory writing
writer.start()
# Stop continuous memory writing
writer.stop()| Back | FazBrowse Home | New Git URL |