https://github.com/im-razvan/memx
A Python Library to Manipulate macOS Processes.
https://github.com/im-razvan/memx
game-hacking macos memory memory-hacking python
Last synced: 10 months ago
JSON representation
A Python Library to Manipulate macOS Processes.
- Host: GitHub
- URL: https://github.com/im-razvan/memx
- Owner: im-razvan
- License: mit
- Created: 2024-02-10T12:44:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-07T13:34:36.000Z (almost 2 years ago)
- Last Synced: 2025-02-03T08:41:51.954Z (11 months ago)
- Topics: game-hacking, macos, memory, memory-hacking, python
- Language: Python
- Homepage: https://pypi.org/project/memx/
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MemX
## A Python Library to Manipulate macOS Processes.
---
### Example usage:
```
from memx import *
mx = Process("assaultcube")
mx.fetch_modules()
base = Module(mx, "assaultcube").BaseAddress
s = mx.read_longlong(base + 0x1D9EF0)
healthAddr = mx.read_longlong(s) + 0x418
print(f"Health value: {mx.read_int(healthAddr)}")
```
This program reads the health value from a process named `assaultcube`.