Skip to main content

Memory manipulation using python and ctypes

Project description

winmemory

Open progress

from winmemory import *
game=winmemory.winmemory('game.exe')

Write and read data of an address

game.write_int(0xE2CA7FF85C,10)
data=game.read_int(0xE2CA7FF85C)
print(data)
#--->Address a is assigned the value 10
#Can also read and write to many other data types, such as string, byte, long, double, float,...

Get base address of module

module_addr=game.get_module_base_address('game.exe')

Find_pointer_address

pointer=game.find_pointer_address(base,offset)

Get pip of progress

pid=getpid('ganme.exe')

Scan all addresses with the value you want

pid=getpid('ganme.exe')
scaned=scan_all_addresses_with_value(pid,10)
#scan all addresses with value 10

Thanks from Phan Huynh Thien Phu

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

winmemory-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

winmemory-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file winmemory-0.1.0.tar.gz.

File metadata

  • Download URL: winmemory-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for winmemory-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d98a2c1dd46c317b62f4ed484a1b3125eb02339148024dc79cd52a46c3f198ce
MD5 18a674f91d162556591d2c18dc3c7a1e
BLAKE2b-256 da8b595b03e8cf131c0714cc1561d23874de36be0dfa3f1123e239a7dbc024ee

See more details on using hashes here.

File details

Details for the file winmemory-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: winmemory-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for winmemory-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f37b3be9699bebd1f393d18c8140f9af5abb761f9df190fea7e60537ad95c04
MD5 66d5f726b707c15439855ec9ae00c6c6
BLAKE2b-256 4aa986fea46d1668f787374602c0a7dac36d3791bf4d836dbd445d7b447084d6

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