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: about 1 year 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T14:24:56.000Z (about 2 years ago)
- Last Synced: 2025-03-28T03:23:38.678Z (over 1 year 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] Text
positional arguments:
Text Text To Change
options:
-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} Text
positional arguments:
Text Text To Change
options:
-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 Params
positional arguments:
Module Module To Use
Function Function To Call
Params Arguments To The Function
options:
-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] blist
positional arguments:
blist Blacklist String
options:
-h, --help show this help message and exit
```