Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pobfuscatory

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pobfuscatory

python code obfuscator

  • 0.0.3
  • PyPI
  • Socket score

Maintainers
1

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 ]

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc