A Jupyter notebook environment built for attacking crypto CTF challenges, with custom theming matching CryptoHack.
It comes with the following installed and integrated:
- Sage 10 (based on Python3)
- Pwntools
- PyCryptodome
- z3 Prover
cd cryptohack-docker
docker build . -t cryptohack
Open terminal in root folder CTF
docker run --name CTF-Crypto --restart always -p 8888:8888 -v .:/home/sage/ctf-challenges -it cryptohack
~/sage/local/var/lib/sage/venv-python3.11.1/bin/python3.11
- Can't use with libs using image, screenshot like pyzbar, PIL,...
Refer: