diff --git a/datagather_modules/data_assembler.py b/datagather_modules/data_assembler.py index 5ed8e40..7012563 100644 --- a/datagather_modules/data_assembler.py +++ b/datagather_modules/data_assembler.py @@ -101,6 +101,7 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k else: print(Fore.RED + "Cant start PageSearch because no subdomains were detected") ps_emails_return = "" + accessible_subdomains = files_counter = cookies_counter = api_keys_counter = website_elements_counter = exposed_passwords_counter = total_links_counter = accessed_links_counter = emails_amount = 'No data was gathered because no subdomains were found' pass elif pagesearch_flag.lower() == 'si': print(Fore.LIGHTMAGENTA_EX + "\n[EXTENDED SCAN START: PAGESEARCH SITEMAP INSPECTION]\n" + Style.RESET_ALL) @@ -137,6 +138,7 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k print(Fore.LIGHTMAGENTA_EX + "\n[EXTENDED SCAN END: PAGESEARCH SITEMAP INSPECTION]\n" + Style.RESET_ALL) elif pagesearch_flag.lower() == 'n': ps_emails_return = "" + accessible_subdomains = files_counter = cookies_counter = api_keys_counter = website_elements_counter = exposed_passwords_counter = total_links_counter = accessed_links_counter = emails_amount = 'No data was gathered because no subdomains were found' pass data_array = [ip, res, mails, subdomains, subdomains_amount, social_medias, subdomain_mails, sd_socials,