Skip to content

Commit

Permalink
fix for bing and yand TypeError's that can potentially occur.
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-pmillz committed Sep 13, 2024
1 parent 8808b74 commit 3e79a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dnsrecon/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1940,13 +1940,13 @@ 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':
Expand Down

0 comments on commit 3e79a70

Please sign in to comment.