Skip to content

Commit

Permalink
Added new function to inspect sitemap links
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES authored Aug 9, 2024
1 parent 3b04c67 commit 315c1d3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion datagather_modules/data_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import crawl_processor as cp
import dorking_processor as dp
import networking_processor as np
from pagesearch_main import normal_search
from pagesearch_main import normal_search, sitemap_inspection_search

try:
import requests
Expand Down Expand Up @@ -97,6 +97,10 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k
print(Fore.RED + "Cant start PageSearch because no subdomains were detected")
ps_emails_return = ""
pass
elif pagesearch_flag.lower() == 'si':
print(Fore.LIGHTMAGENTA_EX + "\n[PAGESEARCH SITEMAP INSPECTION SUBPROCESS START]\n" + Style.RESET_ALL)
ps_emails_return = sitemap_inspection_search(report_folder)
print(Fore.LIGHTMAGENTA_EX + "\n[PAGESEARCH SITEMAP INSPECTION SUBPROCESS END]\n" + Style.RESET_ALL)
elif pagesearch_flag.lower() == 'n':
ps_emails_return = ""
pass
Expand All @@ -116,6 +120,10 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k
print(Fore.RED + "Cant start PageSearch because no subdomains were detected")
ps_emails_return = ""
pass
elif pagesearch_flag.lower() == 'si':
print(Fore.LIGHTMAGENTA_EX + "\n[PAGESEARCH SITEMAP INSPECTION SUBPROCESS START]\n" + Style.RESET_ALL)
ps_emails_return = sitemap_inspection_search(report_folder)
print(Fore.LIGHTMAGENTA_EX + "\n[PAGESEARCH SITEMAP INSPECTION SUBPROCESS END]\n" + Style.RESET_ALL)
elif pagesearch_flag.lower() == 'n':
ps_emails_return = ""
pass
Expand Down

0 comments on commit 315c1d3

Please sign in to comment.