A Simple Read/Write Memory module for Windows python
Project description
Module: rwmem
JOB: Read/Write Process Memory for Windows Python
installation:
- pip install rwmem
Usage
from rwmem import *
memory.open()
"""
[*] JOB: Open a handle for process, you can select the process by it name or process id
[*] Examples:
memory.open(7696)
memory.open("someGame")
"""
memory.getProcessArch()
"""
[*] JOB: Get the open process architecture
[*] Example:
memory.getProcessArch()
64
>>>
"""
memory.read()
"""
[*] JOB: Read Process memory Address Value
[*] Parms:
1 - Address
2 - TYPE Default(<U_INT>)
[*] Examples:
memory.read(0x11111111)
100
>>>
memory.read(0x11111111, TYPE="float")
100.0
"""
memory.readStr()
"""
[*] JOB: Read string values
[*] Parms:
1 - Address
2 - length Default(<50>)
[*] Examples:
memory.readStr(0x11111111)
'helloWorld'
>>>
"""
memory.readBytes()
"""
[*] JOB: Read process memory Address bytes
[*] Parms:
1 - Address
2 - length
[*] Example:
memory.readBytes(0x11111111, length=11)
'helloWorld\x00'
>>>
"""
memory.write()
"""
[*] JOB: Write some value to process memory Address
[*] Parms:
1 - Address
2 - Value
3 - TYPE Default(<U_INT>)
[*] Examples:
memory.write(0x11111111, 100)
memory.write(0x11111111, 100.0 , TYPE="float")
"""
memory.writeBytes()
"""
[*] JOB: Write some bytes value to process memory Address
[*] Parms:
1 - Address
2 - Value
[*] Example:
memory.writeBytes(0x11111111, "helloWorld")
"""
memory.close()
"""
Close the open process handle
"""
getPID()
"""
[*] JOB: returns process Id of processName
[*] Example:
getPID("someGame")
7692
>>>
"""
procList()
"""
[*] JOB: list processes with its process id
[*] Parms:
1 - Value
2 - find
Examples:
procList()
{1: ('SomeGame.exe', 7692), 2: ('someProg.exe', 1608), 3: ('chrome.exe', 3864)} #..etc
>>>
procList(Value="chrome")
{1: ('chrome.exe', 3864), 2: ('chrome.exe', 5652)}
>>>
procList(find="chrome")
3864
>>>
procList(find=3864)
'chrome.exe'
"""
getModuleBase()
"""
[*] JOB: returns the module base address
[*] Parms:
1 - moduleName
2 - PID
[*] Example:
getModuleBase("someGame.exe", 7696)
'0x1C580000'
>>>
"""
That's All :)
- This Module By Oseid Aldary
- Thanks For Usage
- Have A Nice Day...GoodBye :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rwmem-0.0.4.tar.gz
(4.6 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
rwmem-0.0.4-py2-none-any.whl
(5.5 kB
view details)
File details
Details for the file rwmem-0.0.4.tar.gz.
File metadata
- Download URL: rwmem-0.0.4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e9b9dfcd775556f89b2f8a9b710a1c269d2ad14643a243e6b711d07934a00a2
|
|
| MD5 |
1004af2f7a74043f7d2d9565c5d79043
|
|
| BLAKE2b-256 |
c7d3f3e44647afef308a0378aba0b80c4a0254e900778f315e3a6e6769b53c8c
|
File details
Details for the file rwmem-0.0.4-py2-none-any.whl.
File metadata
- Download URL: rwmem-0.0.4-py2-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c9414193ddbf03d381c34f4c552997af7d1d2624a6183cf6d5e1062ffcfd0c
|
|
| MD5 |
5525f2617857198f74255d78fb6e3240
|
|
| BLAKE2b-256 |
c632e8d73ac032105f2e6574b5d288b3f7fcd9392dea947604cba2c041f6f31b
|