-
Notifications
You must be signed in to change notification settings - Fork 15
Server Getting Started
Maxime Landon edited this page Feb 23, 2020
·
4 revisions
NOTE: It is necessary to run the Data Service first, before running the C2 Server.
When running the C2 Server for the first time, it will create several directories and files:
-
~/.wiregost/
- The root directory for Wiregost server
In this root directory:
-
certs/
- Stores all root Certificate Authorities certificates for Wiregost usage. -
db/
- Stores all BadgerDB files for most of Wiregost C2 functionality. -
users/
- Stores all user configs registered in the C2 server. Each time a user is added (except the default one, see below), his config file will be saved here. -
logs/
- All logs for the C2 Server are here.
The first time the C2 Server is ran, it will automatically:
- Create a default user named
wiregost
, with a config pointing to a server located atlocalhost:1708
, with default=true. - Create a
~/.wiregost-client/
directory (for the console) - Move the default user config to
~/.wiregost-client/configs/
Then, you are able to launch the client console, which will automatically connect to this C2 Server.
NOTE: This process is independant of the way the C2 is started, whether from Console or as a Systemd unit. So you can "get started" by using the Systemd unit file as well.