MilindPurswani / Syborg

Recursive DNS Subdomain Enumerator with dead-end avoidance system (BETA)
143 stars 22 forks source link

Additional Resolver file #13

Open gy741 opened 4 years ago

gy741 commented 4 years ago

Hello,

I think the "Syborg" tool uses a single DNS server.

python3 syborg.py -d 4.4.4.4 google.com

It would be nice if syborg could use a multi-resolver.

python3 syborg.py -d resolvers.txt google.com
Traceback (most recent call last):
  File "syborg.py", line 221, in <module>
    resolver.nameservers = [socket.gethostbyname(dns_server)]
socket.gaierror: [Errno -2] Name or service not known

A single dns server can be blocked by a dos problem.

Thanks.

MilindPurswani commented 4 years ago

Hey,

Thanks for bringing this to my attention. May I know what steps did you take to reproduce this error? In my countless runs, even with concurrency set to 100, I was not blocked by any DNS server. This will help me reproduce this error and finally remediate it!

Thanks,

-Milind

gy741 commented 4 years ago

@MilindPurswani Thanks for the answer.

I am not currently blocked.

But I think if many users use this tool and test more many domains, it can be a problem.

So, massdns and amass are being offered a resolvers file.

./bin/massdns -r resolvers.txt) .....
./amss -rf resolvers.txt .....
MilindPurswani commented 4 years ago

Sure! I have labeled this as an enhancement. Currently, I am occupied with a lot of stuff so will work on this in near future. If you want to contribute, feel free to code the required feature and create pull request! I will validate it and then accept it, if its working :)

Let me know if you need any more info.

Thanks,

-Milind