github.com/Coalfire-Research/Slackor@v0.0.0-20191010164036-aa32a7f9250b/internal/config/vars.go (about)

     1  // Package config manages all configuration related to Slackor components.
     2  package config
     3  
     4  // Global variables, some of which will get their values injected at compile
     5  
     6  // Keylogger is an internal flag to track whether the keylogger is active
     7  var Keylogger = false
     8  
     9  // Beacon is the average time in seconds (with 20% jitter) between polling
    10  var Beacon = 5 // TODO: Make jitter configurable
    11  
    12  // ParseEnv controls whether to expand environment variables
    13  var ParseEnv = false
    14  
    15  // ParseBacktick controls whether to expand backticks
    16  var ParseBacktick = false
    17  
    18  // OSVersion is the memoized operating system version string
    19  var OSVersion = ""
    20  
    21  // ResponseChannel is the Slack channel to send responses to
    22  var ResponseChannel = "RESPONSE_CHANNEL"
    23  
    24  // RegistrationChannel is the Slack channel that implants announce their
    25  // presence on
    26  var RegistrationChannel = "REGISTRATION_CHANNEL"
    27  
    28  // CommandsChannel is the Slack channel to listen for commands on
    29  var CommandsChannel = "COMMANDS_CHANNEL"
    30  
    31  // Bearer is the bearer token used for the bot user
    32  var Bearer = "BEARERTOKEN" // TODO: Rename this
    33  
    34  // Token is the bearer token used for the app
    35  var Token = "TOKENTOKEN" // TODO: Rename this
    36  
    37  // CipherKey is the string value of the symmetric key used to communicate
    38  var CipherKey = "AESKEY"
    39  
    40  // CipherKeyBytes is the CipherKey converted to a byte slice
    41  var CipherKeyBytes = []byte(CipherKey)
    42  
    43  // CipherIV is the initialization vector for all messages
    44  var CipherIV = []byte("1337133713371337")
    45  
    46  // SerialNumber is a string that gets updated on every build to circumvent simple signatures
    47  var SerialNumber = "CHANGEME"