c2

A command&control module that connects to an IRC server for reporting and commands.

Commands

c2 on

Start the C2 module.

c2 off

Stop the C2 module.

c2.channel.set EVENT_TYPE CHANNEL

Set a specific channel to report events of this type.

c2.channel.clear EVENT_TYPE

Clear the channel to use for a specific event type.

c2.template.set EVENT_TYPE TEMPLATE

Set the reporting template to use for a specific event type.

c2.template.clear EVENT_TYPE

Clear the reporting template to use for a specific event type.

Parameters

parameterdefaultdescription
c2.channel.control#eventsIRC channel to receive commands from.
c2.channel.events#eventsIRC channel to send events to.
c2.channel.output#eventsIRC channel to send commands output to.
c2.nickbettercapIRC nickname.
c2.operatoradminIRC nickname of the user allowed to run commands.
c2.passwordpasswordIRC server password.
c2.sasl.passwordIRC server SASL password.
c2.sasl.usernameIRC SASL username.
c2.serverlocalhost:6697IRC server address and port.
c2.server.tlstrueEnable TLS.
c2.server.tls.verifyfalseEnable TLS certificate validation.
c2.usernamebettercapIRC username.