Running commands via http calls
openrc | ||
.env.example | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
Runner of commands in payload on a host
Example of sending hello world to runner at 127.0.0.1:8072
`curl -H "Authorization: xxx" -d '{"commands":["echo "Hello world""]}' 127.0.0.1:8072
- WORK_DIR will be WIPED on every run!!!!