Updated process.go
parent
5afb14f67e
commit
52250c5c26
12
process.go
12
process.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue