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.5.tar.gz
(4.7 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.5-py2-none-any.whl
(5.6 kB
view details)
File details
Details for the file rwmem-0.0.5.tar.gz.
File metadata
- Download URL: rwmem-0.0.5.tar.gz
- Upload date:
- Size: 4.7 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 |
2f353953e38c46da53a0d09723f17f7860c51e06111fded5a2d9a09ef75939ea
|
|
| MD5 |
450bb21062cdce9f72f35e0c834cb1d0
|
|
| BLAKE2b-256 |
2aa2d22fb439f5fdad49a326a05e4f2ff3d26039044ad6f4df83f84b152e7058
|
File details
Details for the file rwmem-0.0.5-py2-none-any.whl.
File metadata
- Download URL: rwmem-0.0.5-py2-none-any.whl
- Upload date:
- Size: 5.6 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 |
6f77dfb588400a747794eb95f4dbbbce71119b956ac9f8ccfec34445d8e178c1
|
|
| MD5 |
4fa54349ac1e414c11d28280789eb84f
|
|
| BLAKE2b-256 |
bb4245374d98d0fc06aaf9d326098f5b65593e81e8d5158d6179692c1407c7da
|