engine

package
v0.0.0-...-f9f8e5e Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2024 Rangertaha. All Rights Reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Copyright 2024 Rangertaha. All Rights Reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner(cfg *config.Config)

func Dedup

func Dedup() func(in <-chan *db.Domain, c *config.Config) <-chan *db.Domain

func ExampleFilter

func ExampleFilter() func(in <-chan *db.Domain, c *config.Config) <-chan *db.Domain

func Levenshtein

func Levenshtein() func(in <-chan *db.Domain, c *config.Config) <-chan *db.Domain

func Regex

func Regex() func(in <-chan *db.Domain, c *config.Config) <-chan *db.Domain

Types

type FilterFunc

type FilterFunc func() func(<-chan *db.Domain, *config.Config) <-chan *db.Domain

type Urlinsane

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

Urlinsane ...

func New

func New(conf *config.Config) (u *Urlinsane)

NewUrlinsane ...

func (*Urlinsane) Algorithms

func (u *Urlinsane) Algorithms(in <-chan *db.Domain) <-chan *db.Domain

Algorithms generate typo variations using the algorithm plugins

func (*Urlinsane) Analyzers

func (u *Urlinsane) Analyzers(in <-chan *db.Domain) <-chan *db.Domain

func (*Urlinsane) Close

func (u *Urlinsane) Close()

func (*Urlinsane) CollectorChain

func (u *Urlinsane) CollectorChain(funcs []internal.Collector, in <-chan *db.Domain) <-chan *db.Domain

CollectorChain creates a chain of information-gathering functions

func (*Urlinsane) Collectors

func (u *Urlinsane) Collectors(in <-chan *db.Domain) <-chan *db.Domain

func (*Urlinsane) Constraints

func (u *Urlinsane) Constraints(in <-chan *db.Domain, Filters ...FilterFunc) <-chan *db.Domain

Constrains apply pre-processing filters to exclude domain names from processing

func (*Urlinsane) Execute

func (u *Urlinsane) Execute() (err error)

func (*Urlinsane) Init

func (u *Urlinsane) Init() <-chan *db.Domain

Init

func (*Urlinsane) Load

func (u *Urlinsane) Load(in <-chan *db.Domain) <-chan *db.Domain

Load gets the domain from the database

func (*Urlinsane) Output

func (u *Urlinsane) Output(in <-chan *db.Domain)

Jump to

Keyboard shortcuts

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