[−][src]Crate domain_info
domain_info
An early-stage crate and tool to fetch information about a domain, primarily by looking at the information on the front page of the domain.
From the front page, it gets the load time, language, word count, image/form/script counts and it uses the Wappalizer project rules to identify technilogies used on the front page.
It also does a reverse dns lookup on the host and attempts to determine the host company/platform (E.g GoDaddy, Bluehost, AWS)
Additionally it gets the mail server hosts and whois information about the domain.
Basic use
For a single request:
let info = Domain::from("google.com").unwrap().scan();
(Note that this needs the tokio runtime)
For a significant number of domains refer to the main.rs file for an example which uses async/await and the tokio runtime to efficiently scan a list of domains.
Modules
dns | |
mx | |
page | |
wappalyzer |
Structs
Cookie | A very simple representation for cookie data |
CrawlInfo | |
Domain | A wrapper type around a domain |
DomainInfo | Results of a scan |
ScreenshotInfo | |
SslInfo | |
WhoisInfo |
Enums
ScanError | Possible Errors in the domain_info lib |
Traits
Scanner | A helper trait to support ergonomic use of the lib |
Type Definitions
ScannerResult | Helper type for the domain_info errors |