If you see this section, you've just created a repository using PoC Innovation's Open-Source project template. Check the getting started guide.
A python obfucator written in rust using tree-sitter and tree-sitter-python
The obfucation methods used aim at obfucating the code in-place rather than having some sort of exec block doing all the work
Install the Rust programming language (see instructions at https://rustup.rs).
Clone the repo, and launch the following command:
cargo run -- -h
cargo run -- <PYTHON_SCRIPT_PATH> [OPTIONS]
You may use -s int string fn bools dead rm_cmt call
with each one being an optional obfuscation.
int will do the oposite of constant folding for integers
string will replace each character with an hexadecimal escape sequence
fn will change the name of the function as well as their calls to random identifiers
bools will attempt to hide the use of boolean values through a few means
dead will insert unreachable code through branching
rm_cmt will remove comments and empty lines
call will hide function calls using eval, it is off by default as it conflicts with fn and it is more expensive, the two could be made compatible but it is unlikely to actually be done now.
You're invited to join this project ! Check out the contributing guide.
If you're interested in how the project is organized at a higher level, please contact the current project manager.
Developers
[Developer's name] |
[Developer's name] |
[Developer's name] |
---|
Manager
[Manager's name] |
---|
🚀 Don't hesitate to follow us on our different networks, and put a star 🌟 on
PoC's
repositories
Made with ❤️ by PoC