Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct {
Server string `mapstructure:"server"`
ID string `mapstructure:"id"`
SecurityKey string `mapstructure:"security_key"`
TLSInsecure bool `mapstructure:"tls_insecure"`
}
AgentConfig holds agent command configuration.
type Config ¶
type Config struct {
Server ServerConfig `mapstructure:"server"`
Agent AgentConfig `mapstructure:"agent"`
Connect ConnectConfig `mapstructure:"connect"`
Upload UploadConfig `mapstructure:"upload"`
Download DownloadConfig `mapstructure:"download"`
Devices DevicesConfig `mapstructure:"devices"`
Sessions SessionsConfig `mapstructure:"sessions"`
Disconnect DisconnectConfig `mapstructure:"disconnect"`
}
Config holds all configuration for revoshell commands.
type ConnectConfig ¶
type ConnectConfig struct {
Server string `mapstructure:"server"`
SecurityKey string `mapstructure:"security_key"`
Shell string `mapstructure:"shell"`
}
ConnectConfig holds connect command configuration.
type DevicesConfig ¶
type DevicesConfig struct {
Server string `mapstructure:"server"`
SecurityKey string `mapstructure:"security_key"`
}
DevicesConfig holds devices command configuration.
type DisconnectConfig ¶
type DisconnectConfig struct {
Server string `mapstructure:"server"`
SecurityKey string `mapstructure:"security_key"`
}
DisconnectConfig holds disconnect command configuration.
type DownloadConfig ¶
type DownloadConfig struct {
Server string `mapstructure:"server"`
SecurityKey string `mapstructure:"security_key"`
Output string `mapstructure:"output"`
}
DownloadConfig holds download command configuration.
type ServerConfig ¶
type ServerConfig struct {
Addr string `mapstructure:"addr"`
SecurityKey string `mapstructure:"security_key"`
TLS bool `mapstructure:"tls"`
TLSCert string `mapstructure:"tls_cert"`
TLSKey string `mapstructure:"tls_key"`
}
ServerConfig holds server command configuration.
type SessionsConfig ¶
type SessionsConfig struct {
Server string `mapstructure:"server"`
SecurityKey string `mapstructure:"security_key"`
}
SessionsConfig holds sessions command configuration.
type UploadConfig ¶
type UploadConfig struct {
Server string `mapstructure:"server"`
SecurityKey string `mapstructure:"security_key"`
Mode uint32 `mapstructure:"mode"`
}
UploadConfig holds upload command configuration.
Click to show internal directories.
Click to hide internal directories.