An open API service indexing awesome lists of open source software.

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

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
```