Configs

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 5 Imported by: ? modules, 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 ColorFail *log.Logger // 定义执行失败输出
View Source
var ColorInfo *log.Logger // 定义标准日志输出
View Source
var ColorMistake *log.Logger // 定义错误日志输出
View Source
var ColorSend *log.Logger // 定义消息发送输出
View Source
var ColorSuccess *log.Logger // 定义成功日志输出
View Source
var FindReslt []string
View Source
var FindResltAll []string //存放所有的poc返回结果
View Source
var FlageStatus = false
View Source
var JudgeStatus = map[string]bool{`contains`: false, `code`: false}
View Source
var ReqData *strings.Reader

Functions

func Get_Url

func Get_Url(urls string, port_split bool) string

Types

type ConfigJson

type ConfigJson struct {
	Exploit struct {
		Path string `json:"Path"`
		Logs string `json:"Logs"`
	} `json:"Exploit"`
}
var ConfigJsonMap ConfigJson // 定义基础配置文件对象

type ExpJson

type ExpJson struct {
	Name        string `json:"Name"`
	Description string `json:"Description"`
	Product     string `json:"Product"`
	Author      string `json:"author"`

	// 请求数据
	// 可以看出,这种简单的定义,还是不如nuclei,多个请求之间的关系无法分号表达
	Request []struct {
		Method           string            `json:"Method"`
		Header           map[string]string `json:"Header"`
		Uri              string            `json:"Uri"`
		Port             string            `json:"Port"`
		Data             string            `json:"Data"`
		Follow_redirects string            `json:"Follow_redirects"`
		// 文件上传
		Upload struct {
			Name     string `json:"Name"`
			FileName string `json:"fileName"`
			FilePath string `json:"FilePath"`
		} `json:"Upload"`
		// 响应
		Response struct {
			Check_Steps string `json:"Check_Steps"`
			Checks      []struct {
				Operation string `json:"Operation"`
				Key       string `json:"Key"`
				Value     string `json:"Value"`
			} `json:"Checks"`
		}
		Search      string `json:"Search"`
		Next_decide string `json:"Next_decide"`
	} `json:"Request"`
}

json 模式的payload

var ExpJsonMap ExpJson // 定义ExpJson文件对象

type FileNameStruct

type FileNameStruct struct {
	Name     string
	Filename string
	FilePath string
}

type HttpResult

type HttpResult struct {
	Resp *http.Response
	Body string
}
var RespObject HttpResult // 定义http返回结果对象

type UserOption

type UserOption struct {
	OriAddr   string // 原始地址
	UriAddr   string // 拼接Uri参数后的变化地址
	JsonFile  string // 设定的json文档
	AllJson   bool   //使用全部的json文件,也就是全部漏洞去跑
	KeyWord   string // 查找的关键字
	File      string //设定从文件中读取url
	ThreadNum int    //定义线程数量
	GetTitle  bool   //获取url标题专用

}
var UserObject UserOption // 定义用户输出flag标对象

Jump to

Keyboard shortcuts

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