active

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 21 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{}) map[string]resolve.HostEntry

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{}) map[string]resolve.HostEntry

Types

type Options

type Options struct {
	Rate         int64
	Domain       string
	FileName     string // 字典文件名
	Resolvers    []string
	Output       string // 输出文件名
	Silent       bool
	WildcardIPs  map[string]struct{}
	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