Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from b23r0/cliws

Lightweight bind/reverse PTY shell with Windows&Linux support implementation by Rust.

License

mastergyp/Cliws

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cliws Build Status ChatOnDiscord LastCommit Crate

Lightweight bind/reverse PTY shell with Windows&Linux support implementation by Rust.

Features

  • WebSocket
  • Full pty support: VIM, SSH, readline, Ctrl+X
  • Auto set terminal window size.
  • Reverse connection / Bind port
  • Support Win10+(Windows Server 2019+) & Linux

Build & Run

$> cargo build --release

$> ./target/release/cliws

Installation

$> cargo install cliws

Usage

Bind Mode

You can run a bash and listen port at 8000

Linux

(bash) $> ./cliws -p 8000 bash -i

MacOS

(zsh)$> ./cliws -p 8000 zsh -i

then connect and get a comfortable shell.

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

Reverse Mode

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

Linux

image

Windows(Reverse Mode)

image

Reference

About

Lightweight bind/reverse PTY shell with Windows&Linux support implementation by Rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%