webshell

package
v1.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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 Dropper

type Dropper interface{}

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL