predict

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 5 Imported by: 0

README

输入域名 shoot.example.com {subdomain} => shoot {domain} => example.com {x}为分类 {x1}为除了x的其他分类

{x}.{subdomain}.{domain}
{x}-{subdomain}.{domain}
{x}-{x1}-{subdomain}.{domain}
{subdomain}-{x}.{domain}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PredictDomains

func PredictDomains(domain string, output chan string) (int, error)

PredictDomains 根据给定域名预测可能的域名变体,直接输出结果

Types

type DomainGenerator

type DomainGenerator struct {
	// contains filtered or unexported fields
}

DomainGenerator 用于生成预测域名

func NewDomainGenerator

func NewDomainGenerator(output chan string) (*DomainGenerator, error)

NewDomainGenerator 创建一个新的域名生成器

func (*DomainGenerator) GenerateDomains

func (dg *DomainGenerator) GenerateDomains() int

GenerateDomains 生成预测域名并实时输出

func (*DomainGenerator) SetBaseDomain

func (dg *DomainGenerator) SetBaseDomain(domain string)

SetBaseDomain 设置基础域名

Jump to

Keyboard shortcuts

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