DomainTwistex.Permutate (domaintwistex v0.9.0)

Pure Elixir domain permutation generator.

Drop-in replacement for the Rust NIF DomainTwistex.Utils.generate_permutations/1. Generates all 18 permutation types matching twistrs.

Addition, Bitsquatting, Hyphenation, HyphenationTldBoundary, Insertion, Omission, Repetition, Replacement, Subdomain, Transposition, VowelSwap, VowelShuffle, DoubleVowelInsertion, Keyword, Tld, FauxTld, Mapped, Homoglyph

Summary

Functions

Generates all domain permutations for a given FQDN. Returns a list of maps with :fqdn, :tld, and :kind keys, matching the output format of the Rust NIF.

Functions

generate_permutations(fqdn, opts \\ [])

Generates all domain permutations for a given FQDN. Returns a list of maps with :fqdn, :tld, and :kind keys, matching the output format of the Rust NIF.

Options:

  • :faux_tld - include FauxTld permutations (default: false, adds ~14K entries)
  • :double_vowel - include DoubleVowelInsertion (default: true)
  • :vowel_shuffle - include VowelShuffle (default: true)