Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 424 Bytes

File metadata and controls

22 lines (17 loc) · 424 Bytes

httpsh - Execute system command through an API

Run httpsh

  1. Clone this repo
  2. Run httpsh
cargo run

Exemple

curl http://localhost:8000/ping
curl -H "Content-Type: application/json" -X POST -d '{"name": "ls"}' http://localhost:8000/cmd/exec
curl -H "Content-Type: application/json" -X POST -d '{"name": "ls", "args": ["-l", "-a"]}' http://localhost:8000/cmd/exec