https://github.com/mehloul-mohamed/esc
🔑 Helper Utility To Assist In Escaping PyJail CTF Challenges
https://github.com/mehloul-mohamed/esc
ctf cybersecurity pyjail python
Last synced: 2 months ago
JSON representation
🔑 Helper Utility To Assist In Escaping PyJail CTF Challenges
- Host: GitHub
- URL: https://github.com/mehloul-mohamed/esc
- Owner: Mehloul-Mohamed
- License: mit
- Created: 2024-06-10T21:05:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-20T14:24:56.000Z (12 months ago)
- Last Synced: 2025-03-28T03:23:38.678Z (3 months ago)
- Topics: ctf, cybersecurity, pyjail, python
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ESC
Helper Utility To Assist In Escaping PyJail CTF Challenges
> [!NOTE]
> The tool is still under development and is quite simplistic at the moment## Installation
```git clone https://github.com/Mehloul-Mohamed/ESC```
## Usage```console
python3 main.py [-h] [-o Output File] Mode ...
````Mode` can be one of:
- `italic`: Transform Text Into Mathematical Italic Letters (Useful to avoid blacklists)
```console
usage: main.py italic [-h] Textpositional arguments:
Text Text To Changeoptions:
-h, --help show this help message and exit
```- `esoteric`: Transform Text into Esoteric Python Using Boolean Tricks
```console
usage: main.py esoteric [-h] [-eval] {1,2} Textpositional arguments:
Text Text To Changeoptions:
-h, --help show this help message and exit
-eval Wrap Output In eval()
```- `builtin`: Generate Payload To Call Function When Builtins Are Disabled
```console
usage: main.py builtin [-h] Module Function Paramspositional arguments:
Module Module To Use
Function Function To Call
Params Arguments To The Functionoptions:
-h, --help show this help message and exit
```- `blacklist`: Generate List Of Builtins That Don't Trigger A Specified Blacklist
```console
usage: main.py blacklist [-h] blistpositional arguments:
blist Blacklist Stringoptions:
-h, --help show this help message and exit
```