Skip to main content

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.7.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rwmem-0.0.7-py2-none-any.whl (8.0 kB view details)

Uploaded Python 2

File details

Details for the file rwmem-0.0.7.tar.gz.

File metadata

  • Download URL: rwmem-0.0.7.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

Hashes for rwmem-0.0.7.tar.gz
Algorithm Hash digest
SHA256 7926857ea3637c1cb13c1ad57dd6b52b85493e6dd9f103c7e90be142753643a6
MD5 b566cfeb5fec4e62c6f32bb679c245dc
BLAKE2b-256 e5f8a37a5423fa1e7cd523c754f47209c28d44365d3ee12b7487415a39051bb2

See more details on using hashes here.

File details

Details for the file rwmem-0.0.7-py2-none-any.whl.

File metadata

  • Download URL: rwmem-0.0.7-py2-none-any.whl
  • Upload date:
  • Size: 8.0 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

Hashes for rwmem-0.0.7-py2-none-any.whl
Algorithm Hash digest
SHA256 c4956eb466b6461af3fd3132be3226c8a4ec121f4286290b3e42dc71a063df13
MD5 4f098457d7f1aa3444a208c3535686dd
BLAKE2b-256 09da17187c9af25fdb853d4b548d962fba292d15621c7e7c6b984939cdb1353b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page