Documentation
¶
Overview ¶
File dropper download and execute payloads.
The dropper package contains all the code for download and execute payloads. Unlike the other payloads this package is necessarily OS dependent for both the download and execution portions.
Index ¶
- Variables
- type Dropper
- type UnixPayload
- type WindowsPayload
- func (win *WindowsPayload) CertutilHTTP(lhost string, lport int, ssl bool, downloadFile string) string
- func (win *WindowsPayload) CurlHTTP(lhost string, lport int, ssl bool, downloadFile string) string
- func (win *WindowsPayload) PowershellHTTP(lhost string, lport int, ssl bool, downloadFile string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Unix = &UnixPayload{}
View Source
var Windows = &WindowsPayload{}
Functions ¶
This section is empty.
Types ¶
type UnixPayload ¶
type UnixPayload struct{}
func (*UnixPayload) EitherHTTP ¶
Download a remote file with curl or wget, execute it, and delete it.
type WindowsPayload ¶
type WindowsPayload struct{}
func (*WindowsPayload) CertutilHTTP ¶
func (win *WindowsPayload) CertutilHTTP(lhost string, lport int, ssl bool, downloadFile string) string
Download a remote file with certutil.exe, execute it, and delete it (after execution).
func (*WindowsPayload) CurlHTTP ¶
Download a remote file with curl.exe, execute it, and delete it (after execution).
func (*WindowsPayload) PowershellHTTP ¶
func (win *WindowsPayload) PowershellHTTP(lhost string, lport int, ssl bool, downloadFile string) string
Download a remote file with PowerShell, execute it, and delete it (after execution).
Click to show internal directories.
Click to hide internal directories.