Skip to content

A tiny API to execute system commands build with Rust and Rocket :)

License

Notifications You must be signed in to change notification settings

CaffeineAndLabs/httpsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A tiny API to execute system commands build with Rust and Rocket :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages