Skip to content

Commit

Permalink
Added support of multiple PDF report templates
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES authored Aug 25, 2024
1 parent 056ee93 commit c6c0637
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pagesearch/pagesearch_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@

def normal_search(to_search_array, report_folder, keywords, keywords_flag):
print(Fore.GREEN + "Conducting PageSearch. Please, be patient, it may take a long time\n" + Style.RESET_ALL)
ps_emails_return = subdomains_parser(to_search_array[0], report_folder, keywords, keywords_flag)
return ps_emails_return
ps_emails_return, accessible_subdomains, emails_amount, files_counter, cookies_counter, api_keys_counter, website_elements_counter, exposed_passwords_counter = subdomains_parser(to_search_array[0], report_folder, keywords, keywords_flag)
return ps_emails_return, accessible_subdomains, emails_amount, files_counter, cookies_counter, api_keys_counter, website_elements_counter, exposed_passwords_counter

def sitemap_inspection_search(report_folder):
print(Fore.GREEN + "Conducting PageSearch in Sitemap Inspection mode. Please, be patient, it will take a long time\n" + Style.RESET_ALL)
ds_emails_return = sitemap_inspection(report_folder)
if ds_emails_return is not None:
return ds_emails_return
else:
return ""
ds_emails_return, total_links_counter, accessed_links_counter, emails_amount = sitemap_inspection(report_folder)
return ds_emails_return, total_links_counter, accessed_links_counter, emails_amount


0 comments on commit c6c0637

Please sign in to comment.