Documentation ¶
Overview ¶
Package common contains code and data common to both the server and implant.
Index ¶
Constants ¶
View Source
const ConfigName = "config.json"
ConfigName is the name of the config file in JEServer's work dir.
View Source
const DefaultImplantKey = "id_ed25519_implant"
DefaultImplantKey is the name of the default implant key.
View Source
const Die = "die"
Die is a request type to ask the implant to die
View Source
const Fingerprints = "fingerprints"
Fingerprints is a request type to inform implants of allowed fingerprints.
View Source
const LogMessage = "log-message"
LogMessage is a request type to ask the server to log something.
View Source
const Operator = "operator"
Operator is a channel type indicating an operator wants to connect to an implant.
View Source
const ServerKeyFile = "id_ed25519_server"
serverKeyName is the name of the SSH server's key's file.
Variables ¶
This section is empty.
Functions ¶
func DiscardRequests ¶
DiscardRequests is like ssh.DiscardRequests but logs the requests.
Types ¶
Click to show internal directories.
Click to hide internal directories.