Skip to content
/ cliws Public

Cross platform interactive bind/reverse PTY shell

License

Notifications You must be signed in to change notification settings

b23r0/cliws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cliws Build Status ChatOnDiscord

Spawn process IO to websocket with full PTY support.

Features

  • Any process IO through Websocket
  • Full pty support: VIM, SSH, readline, Ctrl+X
  • Auto set terminal window size.
  • Reverse connection / Bind port

Build & Run

$> cargo build --release

$> ./target/release/cliws

Usage

Direct

You can run a bash and listen port at 8000

$> ./cliws -p 8000 bash -i

then connect and get a comfortable shell.

$> ./cliws -c ws://127.0.0.1:8000

Reverse

First listen a port wait for shell

$> ./cliws -l 8000

then build a reverse connection

$> ./cliws -r ws://127.0.0.1:8000 bash -i

Example

image

Reference