coreplugin

package
v1.2.5-sp1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCorePluginData

func GetCorePluginData(name string) []byte

func Must

func Must(condition bool, errMsg ...string)

func NewLocalClient

func NewLocalClient() (ypb.YakClient, error)

func OverWriteCorePluginToLocal

func OverWriteCorePluginToLocal()

func OverWriteYakPlugin

func OverWriteYakPlugin(name string, scriptData *yakit.YakScript)

func TestCoreMitmPlug

func TestCoreMitmPlug(pluginName string, vulServer VulServerInfo, vulInfo VulInfo, client ypb.YakClient, t *testing.T) bool

Types

type PlugInfo

type PlugInfo struct {
	PlugName    string
	BinDataPath string
}

type VulInfo

type VulInfo struct {
	Method         string
	Path           []string
	Body           []byte
	Headers        []*ypb.KVPair
	ExpectedResult map[string]int
	StrictMode     bool
	RawHTTPRequest []byte
}

type VulServerInfo

type VulServerInfo struct {
	VulServerAddr string
	IsHttps       bool
}

Jump to

Keyboard shortcuts

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