Modern Python memory reading/writing library
Project description
Hooker
Hooker is a modern Python library for reading and writing memory of running processes on Windows.
Features
- Attach to a process by name or PID
- Read/write bytes, integers, floats
- Safe error handling
- Convenience utilities
Example
from hooker import Hooker, Memory
h = Hooker("notepad.exe")
mem = Memory(h.handle)
# Read 4 bytes
data = mem.read(0x12345678, 4)
print(data)
# Write integer
mem.write_int(0x12345678, 1337)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
memhook-0.1.0.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memhook-0.1.0.tar.gz.
File metadata
- Download URL: memhook-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1876c12d46c81e26cb8eb0919fa24bdd57a38953193149332eaf962852b859df
|
|
| MD5 |
81f7da500405c4e4d9d202de0d9c294d
|
|
| BLAKE2b-256 |
40572dd491c13cd0c29cd57081f71ef97a90921f3d4d884f24f450de51215e76
|
File details
Details for the file memhook-0.1.0-py3-none-any.whl.
File metadata
- Download URL: memhook-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6100d17f46d33bff5fb393dbae0d64a3f6e412eccef5a20853bbcb6d8a186dcb
|
|
| MD5 |
26382bef802624f26c3f90b691f549c8
|
|
| BLAKE2b-256 |
9db305a7dc778f09be98c928a9d91042f1ed74cfc27e225290d1a0f8cc956225
|