Skip to content

Commit

Permalink
Fixed issues with new time format in reports
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES authored Jul 24, 2024
1 parent 82064ea commit a2676fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datagather_modules/data_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def report_preprocessing(self, short_domain, report_file_type):
sitemap_filepath = report_folder + '//02-sitemap.txt'
sitemap_links_filepath = report_folder + '//03-sitemap_links.txt'
os.makedirs(report_folder, exist_ok=True)
return casename, db_casename, db_creation_date, robots_filepath, sitemap_filepath, sitemap_links_filepath, report_file_type, report_folder, report_ctime
return casename, db_casename, db_creation_date, robots_filepath, sitemap_filepath, sitemap_links_filepath, report_file_type, report_folder, files_ctime, report_ctime

def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, keywords, keywords_flag):
casename, db_casename, db_creation_date, robots_filepath, sitemap_filepath, sitemap_links_filepath, report_file_type, report_folder, ctime = self.report_preprocessing(short_domain, report_file_type)
casename, db_casename, db_creation_date, robots_filepath, sitemap_filepath, sitemap_links_filepath, report_file_type, report_folder, ctime, report_ctime = self.report_preprocessing(short_domain, report_file_type)
print(Fore.GREEN + "Started scanning domain" + Style.RESET_ALL)
print(Fore.GREEN + "Getting domain IP address" + Style.RESET_ALL)
ip = cp.ip_gather(short_domain)
Expand Down Expand Up @@ -113,6 +113,6 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k
elif pagesearch_flag.lower() == 'n':
pass

report_info_array = [casename, db_casename, db_creation_date, report_folder, ctime, report_file_type]
report_info_array = [casename, db_casename, db_creation_date, report_folder, ctime, report_file_type, report_ctime]

return data_array, report_info_array

0 comments on commit a2676fb

Please sign in to comment.