[][src]Module twistrs::enrich

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

DomainMetadata

Container to store interesting FQDN metadata on domains that we resolve.

EnrichmentErrorDeprecated
SmtpMetadata

SMTP specific metadata generated by a partic ular domain.

Type Definitions

Result

Temporary type-alias over EnrichmentError.