blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.1k stars 459 forks source link

Stucks when file is empty. #50

Closed karasamil closed 4 years ago

karasamil commented 4 years ago

When given domain file is empty, the program stucks and doesnt exit.

My command: massdns -r /tools/massdns/lists/resolvers.txt hosts.txt

wc hosts.txt result: 0 0 0 hosts.txt

faizal3199 commented 4 years ago

Also, if the input file contains only newlines.

blechschmidt commented 4 years ago

Thank you for reporting. This should have been fixed by ef081dad04a14700e21e47d161dd61afcc04f6d9.