Module twistrs::enrich

source ·
Expand description

The enrichment module exposes functionality to enrich a given domain with interesting metadata. Currently including:

  • DNS resolution (through HTTP/80 lookup).
  • Open SMTP server (for email misdirects).

Example:

use twistrs::enrich::DomainMetadata;

#[tokio::main]
async fn main() {
    let domain_metadata = DomainMetadata::new(String::from("google.com"));
    domain_metadata.dns_resolvable().await;
}

Note that the enrichment module is independent from the permutation module and can be used with any given FQDN.

Structs

  • Container to store interesting FQDN metadata on domains that we resolve.
  • SMTP specific metadata generated by a partic ular domain.

Enums