strategy

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 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 TLDRepeat Strategy
var TLDReplace 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