Documentation
¶
Overview ¶
Webshell payloads
The webshell package contains webshell payloads that can be dropped onto remote targets
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed jsp/webshell.jsp GetKeyed string //go:embed jsp/webshell_min.jsp GetKeyedMinimal string )
View Source
var ( PHP = &PHPWebshell{} JSP = &JSPWebshell{} )
Functions ¶
This section is empty.
Types ¶
type JSPWebshell ¶ added in v1.43.0
type JSPWebshell struct{}
func (*JSPWebshell) GetKeyed ¶ added in v1.43.0
func (jsp *JSPWebshell) GetKeyed(key string) string
GetKeyed generates a JSP webshell that uses key as the basic authorization for a webshell. This webshell will return all output information.
func (*JSPWebshell) GetKeyedMinimal ¶ added in v1.43.0
func (jsp *JSPWebshell) GetKeyedMinimal(key string) string
GetKeyedMinimal generates a JSP webshell that uses key for basic GET authentication. Unlike GetKeyed, this payload does not return any information directly and is more useful for staging other implants or reverse shell payloads.
type PHPWebshell ¶
type PHPWebshell struct{}
func (*PHPWebshell) MinimalGet ¶
func (php *PHPWebshell) MinimalGet() (string, string)
A very basic PHP webshell using short tags and no error checking. The webshell will generate a random variable to fetch the command from. Usage example:
shell, param := webshell.PHP.MinimalGet()
Click to show internal directories.
Click to hide internal directories.