Skip to main content

一个python操作windows的 进程,线程,内存读写,HOOK的库

Project description

memwin介绍

一个python操作windows的 进程 线程 内存读写 HOOK的库, 暂只支持32位进程. 为什么需要创建这个库? 因为python尽管已经有win32process, win32api, pywin32等库可以操作windows的进程线程内存, 但这些库都只是操作windows的原生api, 自己用python写的话效率低下, 要多定义很多结构体才能用, 如果封装好, 就能更方便地通过hwnd来操作任意窗口进程的内存

安装

pip install memwin

文档

进程操作示例


线程操作示例


内存读写操作示例


单元测试

pip install pytest
pytest -s

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

memwin-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file memwin-0.0.1.tar.gz.

File metadata

  • Download URL: memwin-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for memwin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 533d37feca2419d358821d359064a63d9fd7ef47e4f105fc0b8295672fdf093e
MD5 87bf90e678bcccaa1cbcbe5fa5f42f76
BLAKE2b-256 762ad4c80fad3c577cb18f5b8585a505e0e0c3a82355df9e72ff9b8ae5075e43

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