Skip to content

Commit

Permalink
Remove unneeded characters to output.
Browse files Browse the repository at this point in the history
It will make easy to work with Findomain output for another tools like httprobe.
  • Loading branch information
Edu4rdSHL committed Sep 10, 2019
1 parent bb8d24a commit bf4d8c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Expand Up @@ -238,16 +238,16 @@ fn manage_subdomains_data(
if with_ip == "y" && with_output == "y" {
let ipadress = get_ip(&subdomain);
write_to_file(&subdomain, &target, &ipadress, &file_format, &with_ip);
println!(" >> {} => {}", &subdomain, &ipadress);
println!("{},{}", &subdomain, &ipadress);
} else if with_ip == "y" {
let ipadress = get_ip(&subdomain);
println!(" >> {} => {}", &subdomain, &ipadress);
println!("{},{}", &subdomain, &ipadress);
} else if with_output == "y" {
let ipadress = "";
write_to_file(&subdomain, &target, &ipadress, &file_format, &with_ip);
println!(" >> {}", &subdomain);
println!("{}", &subdomain);
} else {
println!(" >> {}", &subdomain);
println!("{}", &subdomain);
}
}
println!("\nGood luck Hax0r 💀!\n");
Expand Down

0 comments on commit bf4d8c1

Please sign in to comment.