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.2.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.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pobfuscatory-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d2c754511b514d11c36ddca232da9fbc4a55ed3465699e3bf96bd11bf8c081f0
MD5 c18abb8cf08f41a3748a024029090d0d
BLAKE2b-256 fe31872a9fb5a6ee17ab94b08a968a0b10906c7b4ae2eeffb3b9610aebea7f91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pobfuscatory-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dd22422da6725e2f90349033573992b3d64d5d84b1dedcc3ea72b448bf586bd
MD5 03cd6cef4d66a77c052159b8e497a2a3
BLAKE2b-256 bd60a333a04c3c196e2b0ac450b9048d6973e290cbaacb39d7f091ef2276bad5

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