Skip to main content

Executing shell commands via HTTP server

Project description

shell2http

HTTP-server to execute shell commands. Designed for development, prototyping or remote control. Settings through two command line arguments, path and shell command. By default bind to :8080.

Usage

shell2http [options] ["shell command" for /] /path "shell command" /path2 "shell command2" ...
options:
    -p, --port NNNN : port for http server ( default 8080 )

Install

pip install shell2http

Examples

shell2http 'notify-send Hello root'
shell2http -p3000 'notify-send Hello root' /path 'canberra-gtk-play -i desktop-login'
shell2http -p3000 /path 'canberra-gtk-play -i desktop-login'

Acknowledgements

https://github.com/msoap/shell2http

https://github.com/eshaan7/Flask-Shell2HTTP

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shell2http-1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

shell2http-1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file shell2http-1.1.tar.gz.

File metadata

  • Download URL: shell2http-1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for shell2http-1.1.tar.gz
Algorithm Hash digest
SHA256 3c761a013be061219da710919c9d1991e9971eb1971cb85c346723cc5096e52f
MD5 239ecd6287a4d8fcd04ad283ea1224a8
BLAKE2b-256 bb5e069fdc6e2a2c16cb647dae5092fbf0938e0350ced530cae16f386e90da4f

See more details on using hashes here.

File details

Details for the file shell2http-1.1-py3-none-any.whl.

File metadata

  • Download URL: shell2http-1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for shell2http-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 886bd967cdba31a010af01d6693083cd4e209eb0c17723b9a86118bb495a9c55
MD5 d6742be996d172cbf172acbca7fcf370
BLAKE2b-256 da951fe39ba5fe38f569aac6c0ae90e4fa6ad1fbd73d6a5fd1896b6fdf54a598

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page