Last active
January 7, 2025 11:50
-
-
Save voidvxvt/e617d405818e07fe82488d8a461e84c6 to your computer and use it in GitHub Desktop.
docker container of https://github.com/RUB-NDS/PRET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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