This commit is contained in:
magmaus3 2024-09-07 21:35:40 +02:00
commit 7cc461f1b8
Signed by: magmaus3
GPG key ID: 84BC6F564FD017BE
5 changed files with 1018 additions and 0 deletions

17
README.md Normal file
View file

@ -0,0 +1,17 @@
# dynmap-honeypot
a barebones honeypot for [dynmap](https://github.com/webbukkit/dynmap) spammers
## why
one of the features that dynmap offers is a chat available in the web interface.
however, by default it's enabled and doesn't require any authentication,
which can be abused for spam purposes
this honeypot provides the following endpoints:
- `/up/sendmessage`
- `/up/configuration` (returns a dummy configuration)
when a message is received, the honeypot sends it to a discord webhook
provided in `DYNMAP_WEBHOOK` environment variable and to the stdout