Skip to content

v2.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Apr 16:22
ac333c5

[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

Changelog