Skip to main content

python code obfuscator

Reason this release was yanked:

fix README

Project description

PObfuscatory

python code obfuscator, you can obfuscate a file or an entire project.

Install

pip install git+https://github.com/RayOct18/pobfuscatory

Usage

Note: If your project use not built-in library, you need to install it first. The obfuscator needs to scan all modules and functions from third-party libraries to exclude the keywords.

# single file
$ python -m pobfuscatory -s ./single_file/raw/hello_world.py -t ./obfuscated

# whole project
$ python -m pobfuscatory -s ./src/pobfuscatory -t ./examples/project/obfuscated

# preserve some key (obfuscator, Keys)
$ python -m pobfuscatory -s ./src/pobfuscatory -t ./examples/project/obfuscated -e obfuscator Keys

# adjust confuse line insertion, probability (0.0~1.0), repeat number(1~)
$ python -m pobfuscatory -s ./src/pobfuscatory -t ./examples/project/obfuscated -p 0.5 -r 5
# close confuse line
$ python -m pobfuscatory -s ./src/pobfuscatory -t ./examples/project/obfuscated -p 0

# open debug log
$ python -m pobfuscatory -s ./src/pobfuscatory -t ./examples/project/obfuscated -v 1

Examples

Single file: [ raw ] [ obfuscated ]

Whole project: [ raw ] [ obfuscated ]

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

pobfuscatory-0.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

pobfuscatory-0.0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file pobfuscatory-0.0.1.tar.gz.

File metadata

  • Download URL: pobfuscatory-0.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for pobfuscatory-0.0.1.tar.gz
Algorithm Hash digest
SHA256 22389b7d5d433bd34ed92742b6cbc22570f65a860420e691a97885a24a6c5b23
MD5 b1b6ca91d089063f86a0743a93196c56
BLAKE2b-256 d5548aea83d40e0140eb1dee6faa929cbdb01560002f2ffad73efec4a73ba37a

See more details on using hashes here.

File details

Details for the file pobfuscatory-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pobfuscatory-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for pobfuscatory-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 077671cf27d255e3d12bcbb6a97125470991f7c642f1622c5d299709e09c6b83
MD5 585413474b563a09025a5ad2fac1795f
BLAKE2b-256 5ed1144368b38a10dd5c9aab2edc8019f6a87adfe06df5dc2f6c1b3fac504eb5

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