| Crates.io | trsh |
| lib.rs | trsh |
| version | 0.1.2 |
| created_at | 2020-11-22 08:15:04.931207+00 |
| updated_at | 2020-11-28 12:46:05.242809+00 |
| description | A TLS encrypted Reverse Shell |
| homepage | https://github.com/nanpuyue/trsh |
| repository | https://github.com/nanpuyue/trsh |
| max_upload_size | |
| id | 314940 |
| size | 31,976 |
$ trsh -h
trsh 0.1.2
南浦月 <nanpuyue@gmail.com>
A TLS encrypted Reverse Shell
USAGE:
trsh [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-r Readonly mode (client)
-n Do not verify the server certificate (client)
-V, --version Prints version information
OPTIONS:
-c <FILE> Certificate chain file (server, required)
-d <DOMAIN> Server name to verify (client)
-k <FILE> Private key file (server, required)
-l <IP:PORT> Listen address (server, required)
-s <HOST:PORT> Server address to connect (client, required)
$ trsh -l 0.0.0.0:2022 -c trsh.crt -k trsh.key
Server fingerprint: KjyG4ONKfTUjjsAzgEFcPpwCCaLeVtHgNqEAfWo9Oj8=
Waiting for client to connect...
$ trsh -r -n -s server.host:2022
Server fingerprint: KjyG4ONKfTUjjsAzgEFcPpwCCaLeVtHgNqEAfWo9Oj8=
Do you want continue? [y/N]
y
You can use "Ctrl + C" to disconnect at any time.
Or you can use a certificate trusted by the system without -n.
openssl genrsa -out trsh.key 2048
openssl req -new -x509 -days 365 -key trsh.key -out trsh.crt -subj "/CN=trsh"
This project is licensed under the MIT license.