Crates.io | cliws |
lib.rs | cliws |
version | 0.4.0 |
source | src |
created_at | 2021-11-10 12:14:16.482238 |
updated_at | 2022-07-31 09:25:30.655563 |
description | Lightweight interactive bind/reverse PTY shell implementation by Rust. |
homepage | |
repository | https://github.com/b23r0/Cliws |
max_upload_size | |
id | 479690 |
size | 2,257,685 |
Lightweight interactive bind/reverse PTY shell implementation by Rust.
$> cargo build --release
$> ./target/release/cliws
$> cargo install cliws
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
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
In Windows(Windows Terminal), the default CodePage
encoding is UTF-8. When encountering the target of other language operating systems, invalid characters may occur. You can try the following methods to solve it.
Open Regedit and modified [Machine]\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\OEMCP
value is 65001(DEC).