active

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Band2Rate

func Band2Rate(bandWith string) int64

func Enum

func Enum(domain string, uniqueMap map[string]resolve.HostEntry, silent bool, fileName string, level int, levelDict string, resolvers []string, wildcardIPs map[string]struct{}, maxIPs int) (map[string]resolve.HostEntry, map[string]struct{})

func GetDefaultSubNextData

func GetDefaultSubNextData() []string

func GetDefaultSubdomainData

func GetDefaultSubdomainData() []string

func New

func New(options *Options) (*runner, error)

func Verify

func Verify(uniqueMap map[string]resolve.HostEntry, silent bool, resolvers []string, wildcardIPs map[string]struct{}, maxIPs int) (map[string]resolve.HostEntry, map[string]struct{}, []string)

Types

type Options

type Options struct {
	Rate          int64
	Domain        string
	FileName      string // 字典文件名
	Resolvers     []string
	Output        string // 输出文件名
	Silent        bool
	WildcardIPs   map[string]struct{}
	WildcardIPsAc map[string]struct{}
	MaxIPs        int
	TimeOut       int
	Retry         int
	Method        string // verify模式 enum模式 test模式
	Level         int
	LevelDomains  []string
	UniqueMap     map[string]resolve.HostEntry
}

type RecvResult

type RecvResult struct {
	Subdomain    string
	Answers      []layers.DNSResourceRecord
	ResponseCode layers.DNSResponseCode
}

RecvResult 接收结果数据结构

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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