strategy

package
v0.0.0-...-214d88e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Strategy

type Strategy interface {
	Generate(domain, tld string) ([]string, error)
	GetName() string
}

Strategy defines domain generation strategy contracts

var (
	Addition Strategy
)
var (
	BitSquatting Strategy
)
var (
	Homoglyph Strategy
)
var (
	Hyphenation Strategy
)
var (
	Omission Strategy
)
var (
	Prefix Strategy
)
var (
	Repetition Strategy
)
var (
	SubDomain Strategy
)
var (
	Transposition Strategy
)
var (
	VowelSwap Strategy
)

func DoubleHit

func DoubleHit(m mapping.Mapping) Strategy

DoubleHit returns a double hit genration strategy

func Replace

func Replace(m mapping.Mapping) Strategy

Replace returns a replace generation strategy

func Similar

func Similar(m mapping.Mapping) Strategy

Similar returns a similar generation strategy

Jump to

Keyboard shortcuts

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