https://github.com/zalo/pywebmem
Proof of Concept for Shared Memory with the Browser
https://github.com/zalo/pywebmem
Last synced: about 1 year ago
JSON representation
Proof of Concept for Shared Memory with the Browser
- Host: GitHub
- URL: https://github.com/zalo/pywebmem
- Owner: zalo
- License: agpl-3.0
- Created: 2022-05-09T02:51:28.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-09T02:55:11.000Z (about 4 years ago)
- Last Synced: 2025-03-25T21:11:14.025Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 2.61 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [PyWebMem](https://zalo.github.io/PyWebMem/)
Proof of Concept for a high-speed shared memory communication protocol with the browser.
[](https://zalo.github.io/PyWebMem/)
The Python script `main.py` will scan for instances of `chrome.exe`, and search for the magic ints `0123456789` and `987654321` to demarcate a shared memory zone. It will then write directly into the memory of the Javascript interpreter, which will copy that data into a canvas for display.
It is currently very brittle! (But this can be improved over time)
# Dependencies
- [mem_edit](https://pypi.org/project/mem-edit/) (GPLv3 Python Memory Scanner)