Documentation
¶
Index ¶
Constants ¶
View Source
const ( IDLength = 8 AgentDir = "agents" OperatorListenerName = "operator" OperatorListenerID = "00000000" AgentListenerName = "agent" AgentListenerID = "00000001" SshTimeout = 30 MaxUnwrapConnections = 1000 MaxUnwrapDepth = 8 )
Variables ¶
View Source
var ( // banners for linux SshBannersLinux = []string{ "SSH-2.0-OpenSSH_6.0p1", "SSH-2.0-OpenSSH_6.7p1", "SSH-2.0-OpenSSH_7.4p1", "SSH-2.0-OpenSSH_7.5p1", "SSH-2.0-OpenSSH_7.6p1", "SSH-2.0-OpenSSH_7.7p1", "SSH-2.0-OpenSSH_7.9", "SSH-2.0-OpenSSH_7.9p1", "SSH-2.0-OpenSSH_8.0p1", "SSH-2.0-OpenSSH_8.1p1", "SSH-2.0-OpenSSH_8.2p1", "SSH-2.0-OpenSSH_8.3p1", "SSH-2.0-OpenSSH_8.4p1", "SSH-2.0-OpenSSH_8.8", "SSH-2.0-OpenSSH_8.9p1", "SSH-2.0-OpenSSH_9.0p1", "SSH-2.0-OpenSSH_9.1", "SSH-2.0-OpenSSH_9.2p1", "SSH-2.0-OpenSSH_9.3", "SSH-2.0-OpenSSH_9.3p1", "SSH-2.0-OpenSSH_9.5", "SSH-2.0-OpenSSH_9.6p1", "SSH-2.0-OpenSSH_9.7", "SSH-2.0-OpenSSH_9.7p1", "SSH-2.0-OpenSSH_9.9", } // banners for darwin SshBannersDarwin = []string{ "SSH-2.0-OpenSSH_9.7", "SSH-2.0-OpenSSH_9.9", } // banners for windows SshBannersWindows = []string{ "SSH-2.0-OpenSSH_for_Windows_7.7", "SSH-2.0-OpenSSH_for_Windows_7.9", "SSH-2.0-OpenSSH_for_Windows_9.5", } // banners for freebsd SshBannersFreebsd = []string{ "SSH-2.0-OpenSSH_7.4p1", "SSH-2.0-OpenSSH_8.0p1", "SSH-2.0-OpenSSH_8.3p1", "SSH-2.0-OpenSSH_8.4p1", "SSH-2.0-OpenSSH_8.8p1", "SSH-2.0-OpenSSH_9.0p1", "SSH-2.0-OpenSSH_9.2p1", "SSH-2.0-OpenSSH_9.3p1", "SSH-2.0-OpenSSH_9.5p1", } // banners for openbsd SshBannersOpenbsd = []string{ "SSH-2.0-OpenSSH_8.0", "SSH-2.0-OpenSSH_8.1", "SSH-2.0-OpenSSH_8.4", "SSH-2.0-OpenSSH_8.8", "SSH-2.0-OpenSSH_9.0", "SSH-2.0-OpenSSH_9.1", "SSH-2.0-OpenSSH_9.3", "SSH-2.0-OpenSSH_9.5", "SSH-2.0-OpenSSH_9.6", "SSH-2.0-OpenSSH_9.7", } // banners for solaris SshBannersSolaris = []string{ "SSH-2.0-Sun_SSH_1.1.1", "SSH-2.0-Sun_SSH_1.1.2", "SSH-2.0-Sun_SSH_1.1.3", "SSH-2.0-OpenSSH_5.3p1", "SSH-2.0-OpenSSH_7.4p1", "SSH-2.0-OpenSSH_8.0p1", "SSH-2.0-OpenSSH_8.3p1", "SSH-2.0-OpenSSH_9.0p1", } )
View Source
var Subsystems = []string{"kill", "sftp", "pscan", "pfwd", "execass"}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.