A simple to install and run Honey Pot.
Clone the repo
git clone https://github.com/drsjb80/HPotter
cd HPotter
source venv/bin/activate
Make sure you're running Docker.
To install the necessary packages, do:
pip install -r requirements.txt
To run the honeypot itself, do:
sudo python3 -m src
This should create listeners for HTTP, HTTPS, and telnet. Point your local broser to http://127.0.0.1 and https://127.0.0.1 For HTTPS, you'll need to accept the risk (minimal in this case) and find one of the Easter Eggs.
When/if you want to monitor who is probing you from the internet, you'll need to create port forwarding on your DSL/Cable modem etc. Here's a screen shot of how the might look for you.
A list of one or more of the following.
- container, the name of the Docker container to run
- listen_address, default: 0.0.0.0
- listen_port, the port number.
- request_length, how many bytes requests are allowed to be, default: 4096.
- response_length, how many bytes responses are allowed to be, default: 4096.
- request_commands, how many request commands (between delimiters), default: 10.
- response_commands, how many response commands (between delimiters), default: 10.
- request_delimiters, a list of delimiters between request commands, default: - \n\r.
- response_delimiters, a list of delimiters between response commands, default: - \n\r.
- socket_timeout, how many seconds of inactivity before closing socket.
- threads, how many concurrent threads for this type of container, default: Python's default.
- arguments, takes a valid ast.literal_eval input.
- Example: 'arguments': '{"publish_all_ports":True, "detach":True, "volumes":["tmp:/tmp"]}'
- database, default: 'sqlite'
- database_name, default: 'hpotter.db'
- database_user, default: ''
- database_password, default: ''
- database_host, default: ''
- database_port', default: ''