Skip to content

A terminal running on a web server:fireworks::sparkler:

License

Notifications You must be signed in to change notification settings

shanjunmei/web-shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-shell

what is a Web shell?

Powered by

Web Shell Powered by gorilla/websocket, runletapp/go-console and xtermjs/xterm.js. And windows need rprichard/winpty.

Installation

from source code

git clone github.com/jiangklijna/web-shell
cd web-shell
make gen
make

from release

releases

Help

$ web-shell -h
Usage:
  web-shell [-s server mode] [-c client mode]  [-P port] [-u username] [-p password] [-cmd command]

Example:
  web-shell -s -P 2020 -u admin -p admin -cmd bash
  web-shell -c -H 192.168.1.1 -P 2020 -u admin -p admin

Options:
  -C string
        crt file
  -H string
        connect to host (default "127.0.0.1")
  -K string
        key file
  -P string
        listening port (default "2020")
  -RC string
        root crt file
  -c    client mode
  -cmd string
        command cmd or bash
  -cp string
        content path
  -h    this help
  -https
        enable https
  -p string
        password (default "webshell")
  -s    server mode
  -u string
        username (default "admin")
  -v    show version and exit

License

Source code in web-shell is available under the GPL-3.0 License.

About

A terminal running on a web server:fireworks::sparkler:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 81.4%
  • JavaScript 15.3%
  • HTML 2.3%
  • Makefile 1.0%