||2 years ago|
|src||2 years ago|
|.gitignore||2 years ago|
|Cargo.toml||2 years ago|
|README.md||2 years ago|
|config.toml||2 years ago|
RCEAADB. Remote code execution as a discord bot. Almost as good as ncmpcpp.
But why? Do you hate security that much?
I noticed a use for this. More than once did people ask me (or someone else) to restart a game server, a long-running script, 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.