Skip to main content

python code obfuscator

Project description

PObfuscatory

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

Install

pip install 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.3.tar.gz (9.0 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.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pobfuscatory-0.0.3.tar.gz
  • Upload date:
  • Size: 9.0 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.3.tar.gz
Algorithm Hash digest
SHA256 00a5c35709c04b62a85462f44b842af124c3fd72871e23ade780b08867b1a1af
MD5 08a0411a3a4da01cbef9dd10b5b80b7f
BLAKE2b-256 12727233795897414c8a039793cc5bf53d215c41ca5e3fd8a3538e722e115f78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pobfuscatory-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a36843fdf3d3a8d4ef22dd9b4d0104bcad82ca9c5942ccb9699999430984e9ed
MD5 7217c641f88923d8733dc81991a483ad
BLAKE2b-256 b225bc54baa92907738eab1232f8391a7f50ccc664edce2433f71c64c6910c8b

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