rceaadb/config.toml

23 lines
538 B
TOML
Raw Permalink Normal View History

2020-01-02 23:10:28 +01:00
secret = "your login secret"
2020-01-03 11:19:53 +01:00
prefix = ">"
2020-01-02 23:10:28 +01:00
2020-01-02 17:51:02 +01:00
[[command]]
2020-01-03 11:19:53 +01:00
# The prefix does not need to be added here.
# That is done automatically.
2020-01-02 23:10:28 +01:00
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]