One-Line and Obfuscated Python
Project description
OLOP: One-Line & Obfuscated Python
This repository contains useful python modules for one-line and obfuscated python.
pip install olop-ShadowLugia650
Wiki: FAQ and OLP Tips and Tricks
One-Line python (olp)
These files are located within src/olp
olp.py: primitives within olp to be imported for olp scripts
__import__("olp").olp.primitives
includes: one-line while loop, one-line do while loop, inheritance
oldec.py: a one-line python decoder file which can be called from a python script. Common Usage:
globals().update(oldec = __import__("olp").oldec) or oldec.beautify(oldec.parse_recursive("SOME_OLP_STRING"))
or, for non olp programmers
from olp import oldec
code = oldec.beautify(oldec.parse_recursive("SOME_OLP_STRING"))
NOTE: oldec.py cannot parse all arbitrary one-line python files, as they can take numerous different forms (such as and
OLP vs or
OLP), and it looks for specific aspects within some one-line python programs (it doesn't work on itself either)
oldec_cmd.py: a one-line python decoding command line utility, for decoding olp outside of a python script. Common Usage:
python oldec_cmd.py <olp_file.py> -r -b
python oldec_cmd.py
can also be used to see usage information.
Obfuscated Python
Prototyping this is still a work in progress.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file olop-ShadowLugia650-0.0.2.tar.gz
.
File metadata
- Download URL: olop-ShadowLugia650-0.0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cab9c63e1cfccae23e79909a075feda252b8d41a371c6ce016bd5ab2eb9f3a8 |
|
MD5 | 06e528cbc7824bf552ca2d8dfbba1fdc |
|
BLAKE2b-256 | f38fde36f9dc88286fdf86daf97bc2772dc6fd3308dbce3d54867955287603c1 |
File details
Details for the file olop_ShadowLugia650-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: olop_ShadowLugia650-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6dc9579c7687c617835d366e1fb3b54adcd86f471db6b59b8ca9333f8ef895f |
|
MD5 | 40868a9d27b3bc56165cf4863af45995 |
|
BLAKE2b-256 | 105b19d9b81c1a17fcb93aad7d88d1c689bcd061a28d79899bee62af40a9474b |