Documentation ¶
Index ¶
- Variables
- func FileExists(filename string) bool
- func GetAllFile(dirPath string) (results []string, err error)
- func GetCert(resp *req.Response) (cert string)
- func GetHeaderMap(resp *req.Response) (headerMap map[string]string)
- func GetHeaderString(resp *req.Response) (headerString string)
- func HasInt(datas []int, to int) bool
- func HasLocalIP(ip net.IP) bool
- func HasStr(datas []string, to string) bool
- func IsVaildIp(str string) bool
- func Md5(s string) string
- func NewReqClient(proxy string, timeout int, headers []string) *req.Client
- func ParsePortsList(data string) (map[int]struct{}, error)
- func RandFromChoices(n int, choices string) string
- func RandLetterNumbers(n int) string
- func RandLetters(n int) string
- func RandLowLetterNumber(n int) string
- func ReadFile(filename string) (bytes []byte, err error)
- func ReadLines(filename string) (lines []string, err error)
- func RemoveDuplicate(list []string) []string
- func SaveMarshal(filename string, results interface{}) (err error)
- func SuffixStr(datas []string, to string) (string, bool)
- func WriteFile(filename string, data string) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Allport = "1-65535"
View Source
var Webport = "" /* 1002-byte string literal not displayed */
Functions ¶
func FileExists ¶
func GetAllFile ¶
func GetHeaderMap ¶
func GetHeaderString ¶
func GetHeaderString(resp *req.Response) (headerString string)
func HasLocalIP ¶ added in v1.8.26
func NewReqClient ¶
func ParsePortsList ¶ added in v1.8.24
func RandFromChoices ¶
RandFromChoices 从choices里面随机获取
func RemoveDuplicate ¶
func SaveMarshal ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.