MCPcopy Create free account
hub / github.com/call-042PE/PyInjector

github.com/call-042PE/PyInjector @1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2 ↗ · + Follow
5 symbols 14 edges 4 files 0 documented · 0% updated 2y ago1.2 · 2024-06-16★ 2393 open issues

Browse by type

Functions 4 Types & classes 1
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PyInjector

PyInjector - Inject Python code into python process.

How to use it ?

Simply write the code you want to inject into a file called code.py.
The file as to be in the same folder of the software you want to inject it.
You can also write it directly in the dll and recompile it.

Why injecting python code into python script ?

This project is made for reverse-engineer and malware analyst, the main aspect of this project is to reverse-engineer any python script/executable easily.
I put some usefull script in the src/ folder that can be used to reverse-engineer any script (even with pyarmor).

Compatibilities

PyInjector is compatible with x32 and x64, python 3.7,3.8,3.9,3.10,3.11,3.12.

Exemple

In this video im unpacking a function in a pyarmor protected script with PyInjector.

Core symbols most depended-on inside this repo

Shape

Function 3
Class 1
Method 1

Languages

C++80%
Python20%

Modules by API surface

PyInjector/dllmain.cpp2 symbols
src/GetAllFunctions.py1 symbols
PyInjector/SDK.h1 symbols
PyInjector/SDK.cpp1 symbols

For agents

$ claude mcp add PyInjector \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page