Skip to content

Commit

Permalink
Merge branch 'master' of github.com:darkoperator/dnsrecon
Browse files Browse the repository at this point in the history
  • Loading branch information
darkoperator committed Nov 19, 2018
2 parents e490d3e + 78e8657 commit 3b859b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dnsrecon.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def brute_srv(res, domain, verbose=False):
'_ldap._tcp.gc._msdcs.', '_kerberos._tcp.dc._msdcs.', '_kpasswd._tcp.', '_kpasswd._udp.',
'_imap._tcp.', '_imaps._tcp.', '_submission._tcp.', '_pop3._tcp.', '_pop3s._tcp.',
'_caldav._tcp.', '_caldavs._tcp.', '_carddav._tcp.', '_carddavs._tcp.',
'_x-puppet._tcp.', '_x-puppet-ca._tcp.']
'_x-puppet._tcp.', '_x-puppet-ca._tcp.', '_autodiscover._tcp.']

try:
for srvtype in srvrcd:
Expand Down Expand Up @@ -970,6 +970,9 @@ def general_enum(res, domain, do_axfr, do_google, do_bing, do_spf, do_whois, do_

except dns.resolver.NoAnswer:
print_error("Could not Resolve NS Records for {0}".format(domain))
except dns.resolver.NoNameservers:
print_error("All nameservers failed to answer the NS query for {0}".format(domain))
sys.exit(1)

# Enumerate MX Records
try:
Expand Down Expand Up @@ -1694,4 +1697,3 @@ def main():

if __name__ == "__main__":
main()

0 comments on commit 3b859b7

Please sign in to comment.