[2.4.0] - 2023-04-06
Add
- releaser deb
- add exec
exec system command. NOTE: This is very dangerous!
- type: exec
params: "echo"
i_rules:
- regexp: '.*"method": ?"exec".*'
o_rules:
- regexp: '.*'
This params
is command, example: params: "/bin/sh"
This Recvice JSONRPC, ignore jsonrpc.method
. jsonrpc.method is use of only match
For example:
params: "echo"
. jsonrpc2 {"jsonrpc":"2.0","method":"exec","params":["-n", "xxx"],"id":"x"}
Finally exec: echo -n xxx