output

package
v1.0.8 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: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Low      = "Low"
	Medium   = "Medium"
	High     = "High"
	Critical = "Critical"
)

漏洞等级

View Source
var DataUpdated = make(chan struct{})
View Source
var IPInfoList = make(map[string]*IPInfo)
View Source
var OutChannel = make(chan VulMessage)
View Source
var ReportMessageChan = make(chan VulMessage)
View Source
var SCopilotLists []*SCopilotList
View Source
var SCopilotMessage = make(map[string]*SCopilotData)
View Source
var TaskCompletionCounter int64
View Source
var TaskCounter int64

Functions

func GenerateVulnReport added in v1.0.0

func GenerateVulnReport(filename string)

func Progress added in v1.0.0

func Progress()

func SCopilot added in v1.0.0

func SCopilot(host string, data SCopilotData)

SCopilot 将数据存储到 SCopilotMessage 中

func Write added in v1.0.0

func Write(progress bool)

Types

type Collection added in v1.0.0

type Collection struct {
	Subdomain   []string `json:"subdomains"`
	OtherDomain []string `json:"other_domains"`
	PublicIp    []string `json:"public_ip"`
	InnerIp     []string `json:"inner_ip"`
	Phone       []string `json:"phone"`
	Email       []string `json:"email"`
	IdCard      []string `json:"id_card"`
	Others      []string `json:"others"`
	Urls        []string `json:"urls"`
	Api         []string `json:"api"`
}

type IPInfo added in v1.0.0

type IPInfo struct {
	Ip          string            `json:"ip"`
	AllRecords  []string          `json:"all_records"`
	PortService map[string]string `json:"port_service"`
	Type        string            `json:"type"` // cdn 、waf、cloud
	Value       string            `json:"value"`
	Cdn         bool              `json:"cdn"`
}

type PluginMsg added in v1.0.0

type PluginMsg struct {
	Url      string   `json:"url"`
	Plugin   string   `json:"plugin"`
	Result   []string `json:"result"` // 插件结果
	Request  string   `json:"request"`
	Response string   `json:"response"`
}

type SCopilotData added in v1.0.0

type SCopilotData struct {
	Target        string       `json:"target"`
	Ip            string       `json:"ip"`
	HostNoPort    string       `json:"host_no_port"`
	SiteMap       []string     `json:"site_map"`
	Fingerprints  []string     `json:"fingerprints"`
	VulMessage    []VulMessage `json:"vul_message"`
	InfoMsg       []PluginMsg  `json:"info_msg"`
	PluginMsg     []PluginMsg  `json:"plugin_msg"`
	CollectionMsg Collection   `json:"collection_msg"`
}

type SCopilotList added in v1.0.0

type SCopilotList struct {
	Host      string `json:"host"`
	InfoCount int    `json:"info_count"`
	ApiCount  int    `json:"api_count"`
	VulnCount int    `json:"vuln_count"`
}

type VulMessage

type VulMessage struct {
	DataType string   `json:"data_type"`
	VulnData VulnData `json:"vul_data"`
	Plugin   string   `json:"plugin"`
	Level    string   `json:"level"`
}

func (*VulMessage) PrintScreen

func (vul *VulMessage) PrintScreen() string

type VulnData

type VulnData struct {
	CreateTime  string `json:"create_time"`
	VulnType    string `json:"vuln_type"`
	Target      string `json:"target"`
	Ip          string `json:"ip"`
	Method      string `json:"method"`
	Param       string `json:"param"`
	Payload     string `json:"payload"`
	CURLCommand string `json:"curl_command"`
	Description string `json:"description"`
	Request     string `json:"request"`
	Header      string `json:"header"`
	Response    string `json:"response"`
}

Jump to

Keyboard shortcuts

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