Skip to content

zidan-idz/ArPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArPy Banner

Author Version Language License

Screenshots

Menu & Commands

ArPy Method

Usage Example

ArPy Usage

Features

  • 🔒 10 Encryption Methods - Multiple obfuscation techniques.
  • 🔓 Auto-Decryption - Intelligent method detection.
  • Fast & Efficient - Optimized with progress bars.
  • 🎨 Clean CLI - Simple command-line interface.
  • 📦 Open Source - Fully transparent, community-driven, and easy to extend.

Installation

git clone https://github.com/zidan-idz/ArPy.git
cd ArPy
pip install -r requirements.txt

Or use the install script:

bash install.sh

Usage

Basic Encryption

python run.py -e base64 script.py

Encryption with Iterations

python run.py -e marshal -i 5 script.py

Custom Output Path

python run.py -e zlib script.py -o encrypted_output.py

Decryption

python run.py -d base64 encrypted.py

Auto-Detect Decryption

python run.py -d auto encrypted.py

List Available Methods

python run.py --list

Encryption Methods

Method Description Iterations
marshal Compile to bytecode
zlib Compress using zlib
base64 Encode using Base64
base32 Encode using Base32
base16 Encode using Base16
lambda Lambda + XOR obfuscation
bitwise Boolean/Bitwise arithmetic
binhex Massive integer encoding
charlen Character length encoding
revzlib Reverse + Zlib + Base64

Decryption Methods

All encryption methods are supported for decryption, plus:

  • auto - Automatically detect and decrypt

Command-Line Options

usage: run.py [-h] [-e METHOD] [-d METHOD] [-i N] [-o FILE] [--list] [--version] [file]

ArPy - Python Obfuscation Tool v3.1

positional arguments:
  file                  Input file to process

options:
  -h, --help            show this help message and exit
  -e METHOD, --encrypt METHOD
                        Encryption method
  -d METHOD, --decrypt METHOD
                        Decryption method
  -i N, --iterations N  Number of iterations (max 50, default: 1)
  -o FILE, --output FILE
                        Output file path
  --list                List all available methods
  --version             show program's version number and exit

Dependencies

  • Python 3.7+
  • tqdm 4.66+ (for progress bars)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Zidan IDz

Disclaimer

This tool is for educational purposes and legitimate code protection only. Do not use it for malicious purposes. The author is not responsible for any misuse of this software.

Changelog

See CHANGELOG.md for detailed version history.

v3.1 (Latest Version)

A maintenance and stability update focusing on reliability and correctness.

  • Fixed bitwise and charlen decryption logic (now fully reversible).
  • Added comprehensive test suite for stability.
  • Improved clarity in marshal decryption feedback.