diff --git a/process.go b/process.go index 555f49a..8feaf1e 100644 --- a/process.go +++ b/process.go @@ -21,6 +21,7 @@ import ( "subfinder/libsubfinder/sources/crtsh" "subfinder/libsubfinder/sources/threatcrowd" "subfinder/libsubfinder/sources/virustotal" + "subfinder/libsubfinder/sources/netcraft" ) // ParseCmdLine ... Parses command line into settings @@ -101,6 +102,15 @@ func main() { finalPassiveSubdomains = append(finalPassiveSubdomains, subdomain) } + fmt.Printf("\n\n[-] Trying Netcraft Domain Query") + netcraftResults, err := netcraft.Query(state) + if err != nil { + fmt.Println(err) + } + for _, subdomain := range netcraftResults { + finalPassiveSubdomains = append(finalPassiveSubdomains, subdomain) + } + // Now remove duplicate items from the slice unique_passive_subdomains := helper.Unique(finalPassiveSubdomains) fmt.Printf("\n\n[#] Total %d Unique subdomains found passively\n\n", len(unique_passive_subdomains))