Skip to main content

Invoke remote functions by python.

Project description

What's pyrpd?

The pyrpd is a simple python project for remote process debug.

Quick Start

pip install pyrpd

How to Use

>>> import pyrpd
>>> from pyrpd.tests import WeChat
>>> wx = WeChat.new_wechat()
>>> wx.pid
19284
>>> wx.GetModuleHandle("WeChatWin.dll")
1677262848
>>> wx.GetProcAddress("WeChatWin.dll","StartWechat")
1691409392
>>> dll_path = r"D:\C++\lwc\Debug\wxapi.dll"
>>> wx.load(dll_path)
True
>>> wx.GetModuleHandle("wxapi.dll")
2054291456
>>> wx.GetProcAddress("wxapi.dll","_test")
2055822152
>>> wx.call("wxapi.dll","_test",0)
1
>>> param = {"type":0,"alias":"ljc545w"}
>>> import json
>>> resp = wx.send("wxapi.dll",json.dumps(param))
>>> print(resp.decode())
{"data":{"desc":"该微信号已被使用","status":-7},"description":"","error_code":10000}
>>> wx.unload("wxapi.dll")
True
>>> wx.GetModuleHandle("wxapi.dll")
0

Contact me

ljc545w@qq.com

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

pyrpd-1.0.6.tar.gz (104.7 kB view details)

Uploaded Source

Built Distribution

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

pyrpd-1.0.6-cp314-cp314-win_amd64.whl (59.4 kB view details)

Uploaded CPython 3.14Windows x86-64

File details

Details for the file pyrpd-1.0.6.tar.gz.

File metadata

  • Download URL: pyrpd-1.0.6.tar.gz
  • Upload date:
  • Size: 104.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyrpd-1.0.6.tar.gz
Algorithm Hash digest
SHA256 d811a2580efe87381f1b03ed5c98e0a4db182245467d7b577f52f9f8fc40b9cd
MD5 277b4b426a7ad2d0c3de38e3233da08b
BLAKE2b-256 fa2426971d91002b87c88a62880b61c01b84a32a0f453592ef1fbc490e19caef

See more details on using hashes here.

File details

Details for the file pyrpd-1.0.6-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pyrpd-1.0.6-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyrpd-1.0.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 2f6c9876d7060dbfdd9b6a3862b596e7188f0e1ddafc2e4d3e656f91ce739f04
MD5 2693aa73e682f4baaf72d683eec0c508
BLAKE2b-256 4e99be5fe7483b4d218df3038b6cfe40f05cec3013efd9cb92f9b4212ec57038

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