Configuration
The configuration file can be passed via the --config
parameter. If this parameter
is not used, attackmate will search at the following locations for the config-file:
.attackmate.yml
$HOME/.config/attackmate.yml
/etc/attackmate.yml
The optional configuration-file is in yaml-format and is divided into three sections:
cmd_config: defines settings for all commands
msf_config: connection settings for the msfrpcd
sliver_config: connection settings for the sliver-api
The following configuration file is an example for a basic configuration with sliver and metasploit:
###
cmd_config:
loop_sleep: 5
msf_config:
password: securepassword
server: 127.0.0.1
sliver_config:
config_file: /home/attacker/.sliver-client/configs/attacker_localhost.cfg
For detailed information about the config sections see: