Lightweight bind/reverse PTY shell with Windows&Linux support implementation by Rust.
- 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
Features
$> cargo build --release
$> ./target/release/cliws
Install
$> cargo install cliws
Bind Mode
Usage
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 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