Run conpot
- Run docker
sudo docker run -it -p 80:80 -p 102:102 -p 502:502 -p 161:161/udp --network=bridge honeynet/conpot:latest /bin/sh
- set alias
echo 'alias conpot="/home/conpot/.local/lib/python3.6/site-packages/conpot-0.6.0-py3.6.egg/bin/conpot"' >> ~/.bashrc
source .bashrc
- run conpot
conpot -f --template default
- change configuration:
/home/conpot/.local/lib/python3.6/site-packages/conpot-0.6.0-py3.6.egg/conpot/testing.cfg
Set json as True, set the log file place.