Skip to content

Commit

Permalink
Merge pull request #310 from mr-pmillz/master
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtn1ng authored Sep 13, 2024
2 parents cf4e7fb + ccdbf41 commit 2c23068
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dnsrecon/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1940,20 +1940,22 @@ def main():
elif type_ == 'bing':
print_status(f'{type_}: Performing Bing Search Enumeration against {domain}...')
bing_enum_records = se_result_process(res, scrape_bing(domain))
if do_output:
if bing_enum_records is not None and do_output:
returned_records.extend(bing_enum_records)

elif type_ == 'yand':
print_status(f'{type_}: Performing Yandex Search Enumeration against {domain}...')
yandex_enum_records = se_result_process(res, scrape_yandex(domain))
if do_output:
if yandex_enum_records is not None and do_output:
returned_records.extend(yandex_enum_records)

elif type_ == 'crt':
print_status(f'{type_}: Performing Crt.sh Search Enumeration against {domain}...')
crt_enum_records = se_result_process(res, scrape_crtsh(domain))
if do_output:
if crt_enum_records is not None and do_output:
returned_records.extend(crt_enum_records)
else:
print('[-] No records returned from crt.sh enumeration')

elif type_ == 'snoop':
if not (dictionary and ns_server):
Expand Down

0 comments on commit 2c23068

Please sign in to comment.