Skip to main content

Executing shell commands via HTTP server

Project description

Python PyPI

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.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

shell2http-1.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shell2http-1.2.tar.gz
Algorithm Hash digest
SHA256 b123f7b7a7dbcaf7b6ce9dcafade405159e3828e4b9901a6fdf447a723801d12
MD5 98587bb61e345374ad2b7642bb07a6cf
BLAKE2b-256 54589aa931d9208dfbda9f4967c62b3a7c39631ff80669f39a1cc6bca0e31430

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shell2http-1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58507db2f92b9f2af1ba4a368162f94e16973b478b3e12ce144923a03a605568
MD5 5e8249bce12a3fe2687bf286ce7a566c
BLAKE2b-256 8d953ca3271320996c2614a4fe093d6248de732b22fb9c7aa5a3156cb627ace2

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