CmdProxy

command module
v0.0.0-...-d09d9b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2018 License: MIT Imports: 9 Imported by: 0

README

CmdProxy

Execute local shell commands and manage remote telnet devices via this http service

Example usage

Console

CURL
Connect
curl -v -X GET http://localhost:25505/api/v1.0/console/connect
Execute command
curl -v -d '{"sessionid":"219602104153538926", "command":"ls -lah /home/"}' -X POST http://localhost:25505/api/v1.0/console/command
Disconnect
curl -v -X GET http://localhost:25505/api/v1.0/console/disconnect?sessionid=219602104153538926
Test Handlers

You can test CmdProxy via tool testHandler.py
Use ./testHandler.py -h for more information

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL