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 five sections:
cmd_config: defines settings for all commands
msf_config: connection settings for the msfrpcd
bettercap_config: connection settings for the bettercap rest-api
sliver_config: connection settings for the sliver-api
remote_config: connection settings for the remote attackmate server
The following configuration file is an example for a basic configuration with sliver, metasploit and remote attackmate server:
cmd_config:
loop_sleep: 5
command_delay: 0
bettercap_config:
default:
url: "http://localhost:8081"
username: user
password: password
msf_config:
password: securepassword
server: 127.0.0.1
sliver_config:
config_file: /home/attacker/.sliver-client/configs/attacker_localhost.cfg
remote_config:
remote_server_name:
url: "https://10.0.0.5:5000"
username: admin
password: securepassword
cafile: "/path/to/cert.pem"
For detailed information about each config section see: