webshell

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseShell

type BaseShell struct {
	Url      string
	Password string
	Script   shell.ScriptType
	Proxy    string
	Headers  map[string]string

	Client *httpx.ReqClient
}

func (BaseShell) BasicInfo

func (b BaseShell) BasicInfo(p ...shell.IParams) (shell.IResult, error)

func (BaseShell) CommandExec

func (b BaseShell) CommandExec(p shell.IParams) (shell.IResult, error)

func (BaseShell) DatabaseManagement

func (b BaseShell) DatabaseManagement(p shell.IParams) (shell.IResult, error)

func (BaseShell) FileManagement

func (b BaseShell) FileManagement(p shell.IParams) (shell.IResult, error)

func (BaseShell) Ping

func (b BaseShell) Ping(p ...shell.IParams) (bool, error)

func (*BaseShell) Verify

func (b *BaseShell) Verify() error

type BehinderInfo

type BehinderInfo struct {
	BaseShell
	// contains filtered or unexported fields
}

func NewBehinder

func NewBehinder(b *BehinderInfo) (*BehinderInfo, error)

func (*BehinderInfo) BasicInfo

func (b *BehinderInfo) BasicInfo(p ...shell.IParams) (shell.IResult, error)

func (*BehinderInfo) CommandExec

func (b *BehinderInfo) CommandExec(p shell.IParams) (shell.IResult, error)

func (*BehinderInfo) DatabaseManagement

func (b *BehinderInfo) DatabaseManagement(p shell.IParams) (shell.IResult, error)

func (*BehinderInfo) FileManagement

func (b *BehinderInfo) FileManagement(p shell.IParams) (shell.IResult, error)

func (*BehinderInfo) Ping

func (b *BehinderInfo) Ping(p ...shell.IParams) (bool, error)

type GodzillaInfo

type GodzillaInfo struct {
	BaseShell
	Key string

	Crypto   godzilla.CrypticType
	Encoding string

	ReqLeft  string
	ReqRight string
	// contains filtered or unexported fields
}

func NewGodzillaInfo

func NewGodzillaInfo(g *GodzillaInfo) (*GodzillaInfo, error)

func (*GodzillaInfo) BasicInfo

func (g *GodzillaInfo) BasicInfo(p ...shell.IParams) (shell.IResult, error)

func (*GodzillaInfo) CommandExec

func (g *GodzillaInfo) CommandExec(p shell.IParams) (shell.IResult, error)

func (*GodzillaInfo) DatabaseManagement

func (g *GodzillaInfo) DatabaseManagement(p shell.IParams) (shell.IResult, error)

func (*GodzillaInfo) EvalFunc

func (g *GodzillaInfo) EvalFunc(className, funcName string, parameter *godzilla.Parameter) ([]byte, error)

func (*GodzillaInfo) FileManagement

func (g *GodzillaInfo) FileManagement(p shell.IParams) (shell.IResult, error)

func (*GodzillaInfo) GetPayload

func (g *GodzillaInfo) GetPayload() []byte

func (*GodzillaInfo) Include

func (g *GodzillaInfo) Include(codeName string, binCode []byte) (bool, error)

func (*GodzillaInfo) InjectPayload

func (g *GodzillaInfo) InjectPayload() error

func (*GodzillaInfo) Ping

func (g *GodzillaInfo) Ping(p ...shell.IParams) (bool, error)

func (*GodzillaInfo) UsePlugins

func (g *GodzillaInfo) UsePlugins(p godzilla.IPlugins) (shell.IResult, error)

type Mode

type Mode string
const (
	Raw         Mode = "raw"
	BasicInfo   Mode = "basicInfo"
	FileOpt     Mode = "fileOpt"
	DatabaseOpt Mode = "databaseOpt"
)

Jump to

Keyboard shortcuts

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