Last active
August 29, 2018 22:35
-
-
Save picatz/82d286bcf5e0cb0956feecb6b1ca6898 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/subfinder/research/core" | |
"github.com/subfinder/research/core/sources" | |
) | |
func main() { | |
var sourcesList = []core.Source{ | |
&sources.CertSpotter{}, | |
&sources.HackerTarget{}, | |
&sources.WaybackArchive{}, | |
&sources.Bing{}, | |
&sources.Baidu{}, | |
&sources.ThreatCrowd{}, | |
// many more... | |
} | |
options := &core.EnumerationOptions{Sources: sourcesList} | |
for result := range core.EnumerateSubdomains("google.com", options) { | |
// print each result to the screen | |
fmt.Println(result) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment