Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions subbrute.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,11 @@ def check(self, host, record_type = "ANY", total_rechecks = 0):
added_cname = False
#A max 20 lookups
cname_host = host
resp = self.resolver.query(cname_host, "A", total_rechecks)
resp = self.check(cname_host, "A", total_rechecks)
if not resp:
resp = self.resolver.query(cname_host, "AAAA", total_rechecks)
resp = self.check(cname_host, "AAAA", total_rechecks)
if not resp:
resp = self.resolver.query(cname_host, "CNAME", total_rechecks)
resp = self.check(cname_host, "CNAME", total_rechecks)
for r in resp:
return_name, record_type, record_data = r
#if record_type in ["CNAME", "A", "AAAA"]:
Expand Down Expand Up @@ -856,4 +856,4 @@ def signal_init():
target = target.strip()
if target:
trace(target, record_type, options.subs, options.resolvers, options.process_count, options.print_data, output, json_output)
print_target(target, record_type, options.subs, options.resolvers, options.process_count, options.print_data, output, json_output)
print_target(target, record_type, options.subs, options.resolvers, options.process_count, options.print_data, output, json_output)