Extend

Structure

extend
├── challenge/ 
│   ├── app/
│       ├── __init__.py
│       └── routes.py 
│   ├── flag.txt 
│   ├── run.py 
│   └── secret.txt 
└── Dockerfile 

Solution

Install libssl-dev package.

sudo apt-get install libssl-dev

Clone the hash extender repository and change the current directory to the hash extender directory.

git clone https://github.com/iagox86/hash_extender && cd hash_extender

Build the project.

Output.

Deserialization payload

Install pip

Install flask

Exploit

Start Netcat listener

Run the script

Reverse shell

Last updated

Was this helpful?