plugins

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WeakPass []models.HydraAppFunc
)

Functions

func GetAllAppList

func GetAllAppList() (list []string)

GetAllAppList 获取全部app名称

func GetAllAppListByName

func GetAllAppListByName(s string) (list []string)

GetAllAppListByName 获取指定名称的app列表

func GetAllAppListByNameSearch

func GetAllAppListByNameSearch(s string) (list []string)

GetAllAppListByNameSearch 模糊搜索App

func GetGoAppList

func GetGoAppList() (list []string)

GetGoAppList 获取全部Go程序

func GetGoAppListByAppName

func GetGoAppListByAppName(s string) (list []string)

GetGoAppListByAppName 根据程序名称获取GOApp列表

func GetGoAppVulByVulName

func GetGoAppVulByVulName(s string) models.AppVulInfo

GetGoAppVulByVulName 根据漏洞名称获取go插件实体

func GetGoAppVulListByAppName

func GetGoAppVulListByAppName(s string) (list []models.AppVulInfo)

GetGoAppVulListByAppName 根据程序名称获取GO插件列表

func GetYAMLAppList

func GetYAMLAppList() (list []string)

GetYAMLAppList 获取全部YAML程序

func GetYAMLAppListByAppName

func GetYAMLAppListByAppName(s string) (list []string)

GetYAMLAppListByAppName 根据程序名称获取YAMLApp列表

func GetYAMLAppVulByVulName

func GetYAMLAppVulByVulName(s string) models.AppVulInfo

GetYAMLAppVulByVulName 根据漏洞名称获取yaml插件实体

func GetYAMLAppVulListByAppName

func GetYAMLAppVulListByAppName(s string) (list []models.AppVulInfo)

GetYAMLAppVulListByAppName 根据程序名称获取YAML插件列表

func LoadAllGoPoc

func LoadAllGoPoc()

LoadAllGoPoc 加载go外部插件

func LoadAllYAML

func LoadAllYAML()

LoadAllYAML 加载全部插件 只能传插件目录 第一个参数是外部自定义的插件,第二个参数的内置poc路径

func LoadEmbedYAML

func LoadEmbedYAML(s string) models.AppVulInfo

LoadEmbedYAML 加载单个内置插件

func LoadGo

func LoadGo(s string)

LoadGo 加载单个Go插件

func LoadYAML

func LoadYAML(s string) models.AppVulInfo

LoadYAML 加载单个插件

Types

type Vul

type Vul struct {
	PluginType string            `json:"plugin_type"`
	AppVul     models.AppVulInfo `json:"app_vul"`
}

func GetAllAppVulList

func GetAllAppVulList() (list []Vul)

GetAllAppVulList 获取全部程序插件列表

func GetAppVulListByAppName

func GetAppVulListByAppName(s string) (list []Vul)

GetAppVulListByAppName 根据App名称获取全部的插件,并且隐藏漏洞信息

func GetAppVulPluginListByAppName

func GetAppVulPluginListByAppName(s string) (list []Vul)

GetAppVulPluginListByAppName 根据App名称获取全部的插件

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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