Pentest Tools

Published on May 31st, 2015 📆 | 4844 Views ⚑

0

AsHttp – Shell Command to Expose any other Command as HTTP


https://www.ispeech.org

ashttp provide a simple way to expose any shell command by HTTP. For example, to expose top by HTTP, try : ashttp -p8080 top ; then try https://localhost:8080.

Dependencies

ashttp depends on hl_vt100, a headless VT100 emulator.
To get and compile hl_vt100 :

$ git clone https://github.com/JulienPalard/vt100-emulator.git
$ aptitude install python-dev
$ make python_module
$ python setup.py install

[adsense size='1']
Usage

ashttp can serve any text application over HTTP, like :





$ ashttp -p 8080 top

to serve a top on port 8080

$ ashttp -p 8080 watch -n 1 ls -lah /tmp

to serve an actualized directory listing of /tmp

Download AsHttp

Tagged with:



Comments are closed.