Documentation ¶
Index ¶
- func AdditionAttack(domain string) []string
- func BitsquattingAttack(domain string) []string
- func DoppelgangerAttack(domain string) []string
- func HomographAttack(domain string) []string
- func HyphenationAttack(domain string) []string
- func OmissionAttack(domain string) []string
- func ProcessInput(input string) (sanitizedDomain, tld string)
- func RepetitionAttack(domain string) []string
- func ReplacementAttack(domain string) []string
- func RunPermutations(targets []string)
- func SubdomainAttack(domain string) []string
- func TranspositionAttack(domain string) []string
- func Unzip(src string, dest string) ([]string, error)
- func VowelswapAttack(domain string) []string
- type GeoIPRecord
- type OutJSON
- type Record
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdditionAttack ¶
performs an addition attack adding a single character to the domain
func BitsquattingAttack ¶
performs a bitsquat permutation attack
func DoppelgangerAttack ¶
performs a doppelganger attack by removing hypens in subdomain
func HomographAttack ¶
performs a homograph permutation attack
func HyphenationAttack ¶
performs a hyphenation attack adding hyphens between characters
func OmissionAttack ¶
performs an omission attack removing characters across the domain name
func ProcessInput ¶
sanitizes domains inputted into dnsmorph
func RepetitionAttack ¶
performs a repetition attack simulating a user pressing a key twice
func ReplacementAttack ¶
performs a replacement attack simulating a user pressing the wrong keys
func RunPermutations ¶
func RunPermutations(targets []string)
helper function to specify permutation attacks to be performed
func SubdomainAttack ¶
performs a subdomain attack by inserting dots between characters, effectively turning the domain in a subdomain
func TranspositionAttack ¶
performs a transposition attack swapping adjacent characters in the domain
Types ¶
type GeoIPRecord ¶
type GeoIPRecord struct { City struct { Names map[string]string `maxminddb:"names"` } `maxminddb:"city"` Country struct { IsoCode string `maxminddb:"iso_code"` } `maxminddb:"country"` }
GeoIPRecord struct