Documentation
¶
Overview ¶
Package util 通用函数
Index ¶
- Variables
- func AiderCheck(randStr string) bool
- func DeleteSliceValue(list *[]string, value string)
- func GetAiderNetloc() string
- func GetMd5(body []byte) string
- func GetRandomBytes(l int) []byte
- func GetRandomString(l int) string
- func InArray(list []string, value string, regex bool) bool
- func ParseNetLoc(netloc string) (host string, port int)
- func Struct2Map(obj interface{}) map[string]interface{}
- func TCPSend(netloc string, data []byte) ([]byte, error)
- type Resp
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger logger
Logger 日志打印
Functions ¶
func AiderCheck ¶
AiderCheck 辅助验证,使用标识字符串判断漏洞是否存在(触发漏洞会把标识字符串传输到辅助脚本上,如果查询存在,说明存在漏洞)
func DeleteSliceValue ¶
DeleteSliceValue 删除切片里指定的值
func ParseNetLoc ¶
ParseNetloc 把 netloc 拆分为 host 和 port, 如果有的话
Types ¶
Click to show internal directories.
Click to hide internal directories.