edoardottt / scilla

Information Gathering tool - DNS / Subdomains / Ports / Directories enumeration
https://edoardoottavianelli.it
GNU General Public License v3.0
896 stars 112 forks source link

feature: adding dnsreponoc as source #120

Closed iamshreeram closed 9 months ago

iamshreeram commented 9 months ago

This is to address #110

iamshreeram commented 9 months ago

@edoardottt , I've used goquery to scrape the table from html as this is already being used as indirect dependency.

Do you want me to update the go.mod as well?

edoardottt commented 9 months ago

Have you tried it?

If I use this code in a function like this:

func main() {
    output := DNSRepoNocSubdomains("google.com", false)
    for elem := range output {
        fmt.Println(elem)
    }
}

I get as result:

Pulling data from Dns Repo Noc
0
1
2
3
4
5
6
...
149
150
iamshreeram commented 9 months ago

@edoardottt , That is interesting. Coz, The standalone code (with this logic) is pulling 151 subdomains of google.

code.zip

image
edoardottt commented 9 months ago

Sorry @iamshreeram, my fault. There was clearly an error in the for loop :/

edoardottt commented 9 months ago

Do you want me to update the go.mod as well?

is it necessary? idk. try to execute go mod tidy

iamshreeram commented 9 months ago

Sure Np. Btw, Do you think, if this PR need any more changes to address #110 ?