HellPot

command module
v0.0.0-...-059ffba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 20 Imported by: 0

README

HellPot

GoDoc Go Report Card

HellPot is an endless honeypot that sends bots to hell. Based on Heffalump.

It finishes the work of Heffalump with a few improvements and the addition of a toml configuration file and JSON logging. It is built off of CokePlate.

The source of the honeypot data is The Birth of Tragedy (Hellenism and Pessimism) by Friedrich Nietzsche

Exploding Heffalump

Live example: Do not follow this link. It will flood your browser's memory and likely cause a crash.

Example Web Server Config (nginx)

location '/robots.txt' {
	proxy_set_header Host $host;
	proxy_set_header X-Real-IP $remote_addr;
	proxy_pass http://127.0.0.1:8080$request_uri;
}  

location '/wp-login.php' {
	proxy_set_header Host $host;
	proxy_set_header X-Real-IP $remote_addr;
	proxy_pass http://127.0.0.1:8080$request_uri;
}

Example Program Config (toml)

If the configuration file is missing, the default settings will automatically drop itself in the current working directory as config.toml.

title = "HellPot"

[logger]
debug = false
log_directory = "./logs/"

[http]
bind_addr = "127.0.0.1"
bind_port = "8080"
# paths to be added to robots.txt that we will respond to
paths = [
        "wp-login.php",
        "wp-login",
]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
config
from git.tcp.direct/kayos/CokePlate
from git.tcp.direct/kayos/CokePlate
decorate
from git.tcp.direct/kayos/CokePlate
from git.tcp.direct/kayos/CokePlate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL