behinder

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decryption

func Decryption(body, key []byte, script string) ([]byte, error)

func Encryption

func Encryption(binCode, key []byte, script string) ([]byte, error)

func GetRawASP

func GetRawASP(binPayload string, params map[string]string) ([]byte, error)

func GetRawAssembly

func GetRawAssembly(binPayload string, params map[string]string) ([]byte, error)

func GetRawClass

func GetRawClass(binPayload string, params map[string]string) ([]byte, error)

func GetRawPHP

func GetRawPHP(binPayload string, params map[string]string) ([]byte, error)

func ProcessParams

func ProcessParams(params map[string]string, opts ...ExecParamsConfig) map[string]string

Types

type ExecParamsConfig

type ExecParamsConfig func(p *Params)

func SetCommandPath

func SetCommandPath(path string) ExecParamsConfig

func SetNotEncrypt

func SetNotEncrypt() ExecParamsConfig

SetNotEncrypt WebShell 返回的结果是否加密

type FileParamsConfig

type FileParamsConfig func(p *Params)

func SetFileMode

func SetFileMode(mode string) FileParamsConfig

type ParamItem

type ParamItem struct {
	Key   string
	Value string
}

type Params

type Params struct {
	ParamItem []*ParamItem
}

Jump to

Keyboard shortcuts

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