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.

22 lines
538 B

secret = "your login secret"
prefix = ">"
[[command]]
# The prefix does not need to be added here.
# That is done automatically.
trigger = "create_file"
# Spaces are not escaped here
command = "touch /tmp/test-rce"
users = [137780880344088576]
[[command]]
trigger = "append_to_file"
# Pipes and redirection are allowed
command = "echo asd >> /tmp/test-rce"
users = [137780880344088576]
[[command]]
trigger = "delete_file"
command = "rm /tmp/test-rce"
# Multiple user IDs can be added here
users = [137780880344088576, 123456789098765]