Skip to content

PyEncoder is a Python script obfuscator that encodes .py files using marshal, zlib, and base encodings. It supports multi-layer encoding, reverse string obfuscation, and .pyc compilation, compatible with Windows, Linux, and Termux.

License

Notifications You must be signed in to change notification settings

ak-alien/Pyencoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4ee6a6b Β· May 1, 2025

History

4 Commits
Apr 20, 2025
May 1, 2025
May 1, 2025

Repository files navigation

πŸ›‘οΈ PyEncoder - Python Script Obfuscator

PyEncoder is a multi-layer Python script obfuscator designed to encode .py files using combinations of marshal, zlib, and various base encodings like base16, base32, and base64.

πŸš€ Compatible with Windows, Linux, and Android (Termux)


πŸ“² Features

  • Encode Python code using:
    • marshal, zlib, base16, base32, base64
    • Combined and nested encoding options
  • 5-layer deep Simple Encode mode
  • Reverse string and numeric obfuscation
  • File size display after encoding
  • .pyc compilation (for Simple Encode)

πŸ–₯️ Installation

βœ… Requirements

  • Python 3.x

πŸ“¦ Clone the Repository

git clone https://github.com/ak-alien/Pyencoder
cd Pyencoder

1. Install Git and Python

  • πŸ“± Termux (Android)
pkg update
pkg upgrade -y
pkg install python git
sudo apt update
sudo apt install git python3 -y

Run

python encoder.py

πŸ” Encoding Options

Option Encoding Combination
01 Marshal
02 Zlib
03 Base16
04 Base32
05 Base64
06 Zlib β†’ Base16
07 Zlib β†’ Base32
08 Zlib β†’ Base64
09 Marshal β†’ Zlib
10 Marshal β†’ Base16
11 Marshal β†’ Base32
12 Marshal β†’ Base64
13 Marshal β†’ Zlib β†’ Base16
14 Marshal β†’ Zlib β†’ Base32
15 Marshal β†’ Zlib β†’ Base64
16 Simple Encode (5 Loops + Obfuscation)
17 Exit

πŸ“‚ Output

  • The encoded file is saved as:
    yourfile_enc.py
    
  • For Simple Encode, the script is also compiled to .pyc.

⚠️ Disclaimer

This tool is for educational and obfuscation purposes only. It does not encrypt code or protect it from reverse engineering. Do not use it for malicious activities.


βœ…License

This project is licensed under the MIT License.


πŸ—°οΈ Stay Obscure. Stay Safe.

About

PyEncoder is a Python script obfuscator that encodes .py files using marshal, zlib, and base encodings. It supports multi-layer encoding, reverse string obfuscation, and .pyc compilation, compatible with Windows, Linux, and Termux.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages