Please don’t rely on this Gitea instance being around forever. If any of your build scripts use my (kageru’s) projects hosted here, check my Github or IEW on Github for encoding projects. If you can’t find what you’re looking for there, tell me to migrate it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kageru 2003ab5cb9
Make prefix configurable
3 years ago
src Make prefix configurable 3 years ago
.gitignore Implement bot 3 years ago
Cargo.toml Implement bot 3 years ago
README.md Update readme 3 years ago
config.toml Make prefix configurable 3 years ago

README.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

RCEAADB

Im sorry?

RCEAADB. Remote code execution as a discord bot. Almost as good as ncmpcpp.

But why? Do you hate security that much?

Evidently.

Seriously, why?

I saw a use for this. More than once did people ask me (or someone else) to interrupt a long-running script, restart a game server, a discord bot, etc. because something was broken, and restarting it was the easiest way to fix it.

The idea here is to give people you trust a way to selectively run certain commands on a server. The bot will only ever execute the commands from the config. The only user input are the triggers in discord messages that are then checked against the config. No message content is ever executed, neither directly nor indirectly. Every command is limited to one or multiple users. See the example config for more information.

Obviously, this can still be a security issue if you give people the wrong commands to play with, but if you only use it to restart a few systemd units, it should be fine. Your moderators will thank you, and the nightly pings asking you to restart the damn bot will stop as well.