Skip to content

Commit

Permalink
Fixed wrong PS behaviour if SI or N modes were chosen (affected PDF r…
Browse files Browse the repository at this point in the history
…eport creation)
  • Loading branch information
OSINT-TECHNOLOGIES committed Sep 5, 2024
1 parent e40b53f commit fe23001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datagather_modules/data_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k
elif pagesearch_flag.lower() == 'si':
print(Fore.LIGHTMAGENTA_EX + "\n[EXTENDED SCAN START: PAGESEARCH SITEMAP INSPECTION]\n" + Style.RESET_ALL)
ps_emails_return, total_links_counter, accessed_links_counter, emails_amount = sitemap_inspection_search(report_folder)
accessible_subdomains = files_counter = cookies_counter = api_keys_counter = website_elements_counter = exposed_passwords_counter = 0
accessible_subdomains = files_counter = cookies_counter = api_keys_counter = website_elements_counter = exposed_passwords_counter = keywords_messages_list = 0
print(Fore.LIGHTMAGENTA_EX + "\n[EXTENDED SCAN END: PAGESEARCH SITEMAP INSPECTION]\n" + Style.RESET_ALL)
elif pagesearch_flag.lower() == 'n':
accessible_subdomains = files_counter = cookies_counter = api_keys_counter = website_elements_counter = exposed_passwords_counter = total_links_counter = accessed_links_counter = emails_amount = 0
accessible_subdomains = files_counter = cookies_counter = api_keys_counter = website_elements_counter = exposed_passwords_counter = total_links_counter = accessed_links_counter = emails_amount = keywords_messages_list = 0
ps_emails_return = ""
pass

Expand Down

0 comments on commit fe23001

Please sign in to comment.