Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFlags ¶ added in v1.0.8
func CreateFlags(c2Impl Impl)
call into the c2 impl so that it can create command line flags.
func ImplToString ¶
convert a ServerImpl enum to the string equivalent.
Types ¶
type Interface ¶
type Interface interface { CreateFlags() Init(ipAddr string, port int, isClient bool) bool Run(timeout int) }
A generic interface used by both reverse shells, bind shells, and stagers.
func GetInstance ¶ added in v1.0.8
factory pattern for creating c2 interfaces. Note that this is returning an interface, which is a bit anti-Go but it's more or less exactly what we want so.
Directories ¶
Path | Synopsis |
---|---|
httpservefile c2 spawns an HTTP or HTTPS server and hosts arbitrary user-provided files.
|
httpservefile c2 spawns an HTTP or HTTPS server and hosts arbitrary user-provided files. |
httpservershell is (literally) a combination of HTTPServeFile and (SSLShell || SimpleShellServer).
|
httpservershell is (literally) a combination of HTTPServeFile and (SSLShell || SimpleShellServer). |
sslshell is a simple c2 that listens for incoming ssl/tls connections in order to establish a reverse shell.
|
sslshell is a simple c2 that listens for incoming ssl/tls connections in order to establish a reverse shell. |
Click to show internal directories.
Click to hide internal directories.