Updated process.go

master
ice3man 2018-04-03 17:28:58 +05:30
parent 5afb14f67e
commit 52250c5c26
1 changed files with 11 additions and 1 deletions

View File

@ -16,9 +16,10 @@ import (
"subfinder/libsubfinder/helper"
// Load different Data sources
// Load different Passive data sources
"subfinder/libsubfinder/sources/certspotter"
"subfinder/libsubfinder/sources/crtsh"
"subfinder/libsubfinder/sources/hackertarget"
"subfinder/libsubfinder/sources/threatcrowd"
"subfinder/libsubfinder/sources/virustotal"
"subfinder/libsubfinder/sources/netcraft"
@ -93,6 +94,15 @@ func main() {
finalPassiveSubdomains = append(finalPassiveSubdomains, subdomain)
}
fmt.Printf("\n\n[-] Trying Hackertarget API")
hackertargetResults, err := hackertarget.Query(state)
if err != nil {
fmt.Println(err)
}
for _, subdomain := range hackertargetResults {
finalPassiveSubdomains = append(finalPassiveSubdomains, subdomain)
}
fmt.Printf("\n\n[-] Trying Virustotal Domain Query")
virustotalResults, err := virustotal.Query(state)
if err != nil {