HellPot is a portal to endless suffering meant to punish unruly HTTP bots.
Go to file
kayos 375196f437 transform into a badly structured go module 2021-06-11 17:19:36 -07:00
src transform into a badly structured go module 2021-06-11 17:19:36 -07:00
.gitignore Initial commit 2016-12-09 14:44:49 -05:00
LICENSE Initial commit 2016-12-09 14:44:49 -05:00
README.md gofmt and refine logging 2021-06-11 17:15:02 -07:00
config.toml gofmt and refine logging 2021-06-11 17:15:02 -07:00
go.mod transform into a badly structured go module 2021-06-11 17:19:36 -07:00
go.sum refactor our http routing and logging 2021-06-11 17:04:32 -07:00
hellgif.gif update readme, implement new configuration directives 2021-06-11 16:25:56 -07:00
hellpot.go transform into a badly structured go module 2021-06-11 17:19:36 -07:00
http.go transform into a badly structured go module 2021-06-11 17:19:36 -07:00
main.go transform into a badly structured go module 2021-06-11 17:19:36 -07:00
markov.go hey i defiled your code love old daddy arpanet 2021-06-11 15:08:03 -07:00
src.go hey i defiled your code love old daddy arpanet 2021-06-11 15:08:03 -07:00

README.md

HellPot

GoDoc Go Report Card

HellPot is an endless honeypot that gives 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",
]