Closed LeoQuote closed 1 year ago
params can be edited in url config , that's a good feature , but also could be a security problem, can we disable this feature
I tried
- name: "echo" script: "echo" - name: "echo2" command: "echo"
but they both support command param customize.
http://localhost:9469/probe?script=echo¶ms=s,t&s=foo&t=bar http://localhost:9469/probe?script=echo2¶ms=s,t&s=foo&t=bar
both web page shows foo bar, meaning the parameter in web url is passed to the command excuting, which could lead to a security problem.
foo bar
ok, seems it could be done with
script_exporter -noargs
params can be edited in url config , that's a good feature , but also could be a security problem, can we disable this feature
I tried
but they both support command param customize.
both web page shows
foo bar
, meaning the parameter in web url is passed to the command excuting, which could lead to a security problem.