2019-09-29 16:18:07 -04:00
|
|
|
## Name
|
|
|
|
|
|
|
|
|
|
TelnetServer - Serenity telnet server
|
|
|
|
|
|
|
|
|
|
## Synopsis
|
|
|
|
|
|
|
|
|
|
```**sh
|
2019-09-29 16:25:29 -04:00
|
|
|
# TelnetServer [options]
|
2019-09-29 16:18:07 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
2019-09-29 16:25:29 -04:00
|
|
|
TelnetServer is a basic telnet server for Serenity. By default, it
|
2019-09-29 16:18:07 -04:00
|
|
|
runs on port 23 and provides a shell upon connection.
|
|
|
|
|
|
|
|
|
|
## Options
|
2019-09-29 16:25:29 -04:00
|
|
|
|
2019-09-29 16:18:07 -04:00
|
|
|
* `-p`: Choose different port for TelnetServer to attach to.
|
2019-09-29 16:25:29 -04:00
|
|
|
* `-c`: Choose different program for TelnetServer to run on connection. Arguments can be passed to the program.
|
2019-09-29 16:18:07 -04:00
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
```sh
|
2019-09-29 16:25:29 -04:00
|
|
|
# TelnetServer -p 24 -c "/usr/bin/nyancat -f 60"
|
2019-09-29 16:18:07 -04:00
|
|
|
```
|