coreplugin

package
v1.2.2-sp1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: AGPL-3.0 Imports: 16 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, vunInfo VulInfo, client ypb.YakClient, t *testing.T) bool

Types

type PlugInfo

type PlugInfo struct {
	PlugName    string
	BinDataPath string
}

type VulInfo

type VulInfo struct {
	Path           string
	ExpectedResult map[string]int
}

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