Skip to content

Commit 5ac529f

Browse files
author
Blake Jacobs
committed
you can now resolve with a list of dns resolvers and port scanning is optional
1 parent d530837 commit 5ac529f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resolver/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub async fn run_resolver(
127127
if vhost {
128128
// The above code is checking if a virtual host (vhost) is enabled. If it is enabled, it
129129
let domain = host_with_port.clone();
130-
130+
131131
let ip_url = match reqwest::Url::parse(&ip_str.to_string()) {
132132
Ok(u) => u,
133133
Err(_) => continue,
@@ -158,7 +158,7 @@ pub async fn run_resolver(
158158
};
159159
if response.status().as_u16() != 404 {
160160
// Print the domain and IP address
161-
println!("\n\t{} belongs to -> {}", domain, address.to_string());
161+
println!("{} belongs to -> {}", domain, address.to_string());
162162
let job = JobResult {
163163
domain: domain,
164164
ip: address.to_string(),

0 commit comments

Comments
 (0)