# README
Generate
The generate
package is responsible for generating Sliver binaries such as executables and shared libraries.
# Functions
CheckCanary - Check if a canary exists.
GetCodename - Returns a randomly generated 'codename'.
GetSliversDir - Get the binary directory.
ListCanaries - List of all embedded canaries.
ProfileByName - Fetch a single profile from the database.
Profiles - Fetch a map of name<->profiles current in the database.
ProfileSave - Save a sliver profile to disk.
ShellcodeRDI generates a reflective shellcode based on a DLL file.
ShellcodeRDIToFile generates a sRDI shellcode and writes it to a file.
SliverConfigByName - Get a sliver's config by it's codename.
SliverConfigFromProtobuf - Create a native config struct from Protobuf.
SliverConfigMap - Get a sliver's config by it's codename.
SliverConfigSave - Save a configuration to the database.
SliverEgg - Generates a sliver egg (stager) binary.
SliverExecutable - Generates a sliver executable binary.
SliverFileByName - Saves a binary file into the database.
SliverFiles - List all sliver files.
SliverFileSave - Saves a binary file into the database.
SliverSharedLibrary - Generates a sliver shared library (DLL/dylib/so) binary.
UpdateCanary - Update an existing canary.
# Constants
CanaryBucketName - DNS Canary bucket name.
DARWIN / MacOS.
Assume SSL, it'll fallback.
DefaultMTLSLPort - Default listen port.
DefaultReconnectInterval - In seconds.
LINUX OS.
SliverCC32EnvVar - Environment variable that can specify the 32 bit mingw path.
SliverCC64EnvVar - Environment variable that can specify the 64 bit mingw path.
WINDOWS OS.
# Variables
ErrSliverNotFound - More descriptive 'key not found' error.
# Structs
CanaryGenerator - Holds data related to canary generation.
DNSCanary - DNS canary.
SliverC2 - C2 struct.
SliverConfig - Parameters when generating a implant.