-
Notifications
You must be signed in to change notification settings - Fork 15
Console Config
NOTE: If you are using the console and the server for the first time, first go to Server Getting Started. Otherwise, proceed with below instructions.
The configuration file for the console is located at ~/.wiregost-client/console.yaml
The content of the file includes a small documentation for setting items: part of this documentation is repeated below.
The console has several elements that can be configured:
- Emacs mode: Classic input mode.
- Vim mode: The input line will change with a [I] for Insert Mode, or [N] for Normal Mode. Pretty much all keystrokes are available, although there is no Visual Mode
- (You can also change the mode from within the console (not persistent) with
mode vim|emacs
.)
- By default located at
~/.wiregost-client/.history
- Many elements can be used for customizing the prompt, all of them being listed in the configuration file.
- There is also a list of colors that can used, also in the file.
No matter which input mode and prompt string is used, the prompt will always be a two-line prompt.
If you happen to use Wiregost on a small monitor and that you need 2 consoles side by side, you can set the option
wrap
to small
. This will wrap all prints (tables, modules, jobs, etc) with a smaller width, giving you something
like the picture below:
- All the servers available to a client console are located in
~/.wiregost-client/configs/
. - You can add a config file in this directory, and it will be available from within the console for connecting to its respective server.
- Note that each config has a
default
field (true|false) that you can set for using this server config as the default one when starting the console. Make sure only one config has this default, otherwise the last one with default=true will be used for connection.
Resource files are the equivalent of Metasploit's resource.rc files, which are list of commands that are executed sequentially when the resource
file is loaded in the console. These files are in the resource/
directory. See Resource for usage.