Quick Installation using Docker¶
Via a pre-built image¶
- Install Docker
- Run
docker pull honeynet/conpot
- Run
docker run -it -p 80:80 -p 102:102 -p 502:502 -p 161:161/udp --network=bridge honeynet/conpot:latest /bin/sh
- Finally run
conpot -f --template default
Navigate to http://MY_IP_ADDRESS
to confirm the setup.
Build docker image from source¶
- Install Docker
- Clone this repo with
git clone https://github.com/mushorg/conpot.git
- Run
sudo make run-docker
Navigate to http://MY_IP_ADDRESS
to confirm the setup.
Build from source and run with docker-compose¶
- Install docker-compose
- Clone this repo with
git clone https://github.com/mushorg/conpot.git
andcd conpot/docker
- Build the image with
docker-compose build
- Test if everything is running correctly with
docker-compose up
- Permanently run as a daemon with
docker-compose up -d
Sample output¶
# conpot --template default
_
___ ___ ___ ___ ___| |_
| _| . | | . | . | _|
|___|___|_|_| _|___|_|
|_|
Version 0.6.0
MushMush Foundation
2018-08-09 19:13:15,085 Initializing Virtual File System at ConpotTempFS/__conpot__ootc_k3j. Source specified : tar://conpot-0.6.0-py3.6/conpot/data.tar
2018-08-09 19:13:15,100 Please wait while the system copies all specified files
2018-08-09 19:13:15,172 Fetched x.x.x.x as external ip.
201