Documentation ¶
Index ¶
Constants ¶
View Source
const LETTERS = "abcdefghijklmnopqrstuvwxyz0123456789"
Variables ¶
This section is empty.
Functions ¶
func BuildAlphaTable ¶
func BuildAlphaTable() []string
func RandString ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) Run ¶
func (app *App) Run() ([]*SubdomainResult, error)
Run 真正的程序入口,不管是 CLI 进来的,还是 API 进来的,都会调用这个函数开始执行
type AppArgs ¶
type AppArgs struct { Target string Technicals []string DictFile string BruteLength string FofaToken string OutputFile string TaskCount uint CheckWildcard bool Nameserver []string FetchTitle bool FromCLI bool // true 表示是从命令行进入的,默认为 false 表示从 SDK 引入 Debug bool HasWildcard bool }
func ParseCLIArgs ¶
func (*AppArgs) PrettyString ¶
type BruteEngine ¶
type BruteEngine struct {
// contains filtered or unexported fields
}
func NewBruteEngine ¶
func NewBruteEngine(appArgs *AppArgs, mainWG *sync.WaitGroup, bruteTaskChan, fofaResultChan chan string, resultChan chan *SubdomainResult) *BruteEngine
func (*BruteEngine) Run ¶
func (e *BruteEngine) Run()
type DNSClient ¶
type DNSClient struct {
// contains filtered or unexported fields
}
func NewDNSClient ¶
func (*DNSClient) CheckDomainWildcard ¶
func (*DNSClient) CheckNSConnection ¶
CheckNSConnection 检查指定的 NS 是否可以连通
func (*DNSClient) DoDNSResolve ¶
func (d *DNSClient) DoDNSResolve(domain string) (*DNSResolveResult, error)
DoDNSResolve 执行 DNS 解析 返回值:(ARecord, CNAMERecord, Error)
func (*DNSClient) RemoveUnconnectedNS ¶
RemoveUnconnectedNS 检查自身的 ns 列表,移除无法连接的 ns,返回被移除的ns列表
type DNSResolveResult ¶
type EngineWrapper ¶
type EngineWrapper struct {
// contains filtered or unexported fields
}
func NewEngineWrapper ¶
func NewEngineWrapper(appArgs *AppArgs, mainWG *sync.WaitGroup, bruteTaskChan, fofaTaskChan chan string, resultChan chan *SubdomainResult) *EngineWrapper
func (*EngineWrapper) Run ¶
func (wrapper *EngineWrapper) Run()
type FofaEngine ¶
type FofaEngine struct {
// contains filtered or unexported fields
}
func NewFofaEngine ¶
func NewFofaEngine(appArgs *AppArgs, mainWG *sync.WaitGroup, fofaTaskChan, fofaResultChan chan string) *FofaEngine
func (*FofaEngine) Run ¶
func (engine *FofaEngine) Run()
type HTTPResult ¶
type HTTPResult struct {
// contains filtered or unexported fields
}
func FetchIndexTitle ¶
func FetchIndexTitle(domain string) *HTTPResult
FetchIndexTitle 获取网页标题,状态码,Body 长度等信息
type ResultEngine ¶
type ResultEngine struct {
// contains filtered or unexported fields
}
func NewResultEngine ¶
func NewResultEngine(appArgs *AppArgs, mainWG *sync.WaitGroup, resultChan chan *SubdomainResult) *ResultEngine
func (*ResultEngine) Run ¶
func (engine *ResultEngine) Run()
type SubdomainResult ¶
type SubdomainResult struct {
// contains filtered or unexported fields
}
func (SubdomainResult) String ¶
func (r SubdomainResult) String() string
type TaskBuilderEngine ¶
type TaskBuilderEngine struct {
// contains filtered or unexported fields
}
func NewTaskBuilderEngine ¶
func NewTaskBuilderEngine(appArgs *AppArgs, mainWG *sync.WaitGroup, bruteTaskChan, fofaTaskChan chan string) *TaskBuilderEngine
func (*TaskBuilderEngine) Run ¶
func (e *TaskBuilderEngine) Run()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.