Skip to content

Instantly share code, notes, and snippets.

@voidvxvt
Last active January 7, 2025 11:50
Show Gist options
  • Save voidvxvt/e617d405818e07fe82488d8a461e84c6 to your computer and use it in GitHub Desktop.
Save voidvxvt/e617d405818e07fe82488d8a461e84c6 to your computer and use it in GitHub Desktop.
# usage: docker compose run --rm pret
services:
pret:
image: python:2.7
volumes:
- ./share:/share
command: >
/bin/bash -c "
apt update
apt install git imagemagick ghostscript -y
git clone https://github.com/RUB-NDS/PRET
cd /PRET
python2 -m pip install requests colorama pysnmp
echo '[i] setup complete. now starting interactive shell...'
echo 'python2 ./pret.py --help'
exec /bin/bash -i
"
stdin_open: true
tty: true
networks:
- pret_network
networks:
pret_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.13.37.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment