One-Line and Obfuscated Python
Project description
OLOP: One-Line & Obfuscated Python
This repository contains useful python modules for one-line and obfuscated python.
Wiki: FAQ and OLP Tips and Tricks
One-Line python (olp)
These files are located within ./olp
olp.py: primitives within olp to be imported for olp scripts
__import__("olp").primitives
- includes: one-line while loop, one-line do while loop,
oldec.py: a one-line python decoder file which can be called from a python script. Common Usage:
globals().update(oldec = __import__("oldec")) or oldec.beautify(oldec.parse_recursive("SOME_OLP_STRING"))
or, for non olp programmers
import oldec
code = oldec.beautify(oldec.parse_recursive("SOME_OLP_STRING"))
NOTE: oldec.py cannot fully parse any one-line python file, as they can take numerous different forms, 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.1.tar.gz
.
File metadata
- Download URL: olop-ShadowLugia650-0.0.1.tar.gz
- Upload date:
- Size: 4.7 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 | 8049b71d5276920ff1b0a8e8efb93f51966eebe836cf980b6fea5d18833f4385 |
|
MD5 | 0530f555915a91d6780752f794d061f7 |
|
BLAKE2b-256 | ebcaf0d2c2a39a955827eca5b39ce0c6420915f3bbe227b567542770efa4efc1 |
File details
Details for the file olop_ShadowLugia650-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: olop_ShadowLugia650-0.0.1-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 | 80f975f9e6e68d3dee8eb9912609fefd99e1f71b616e2d0789c9b77fdbc43c93 |
|
MD5 | 246f28acefadbc36ecc97309e895aad0 |
|
BLAKE2b-256 | 1a3ced0a89119bb259386d27ac4176fd8e4e607b0d5991f32ba64c2737271ed3 |