Skip to content

Commit

Permalink
Fixed wrong representation of subdomains in XLSX report
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES authored Sep 5, 2024
1 parent 4a68969 commit 416c03c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions reporting_modules/xlsx_report_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def create_report(short_domain, url, case_comment, data_array, report_info_array
try:
ip = data_array[0]
res = data_array[1]
subdomain_urls = data_array[3]
subdomains_amount = data_array[4]
subdomain_mails = data_array[6]
subdomain_ip = data_array[8]
Expand Down Expand Up @@ -230,8 +231,8 @@ def create_report(short_domain, url, case_comment, data_array, report_info_array
ws[cell].font = bold_font
ws.column_dimensions[col].width = 70
try:
#for i in range(len(subdomain_urls)):
#ws[f"A{i + 2}"] = str(subdomain_urls[i])
for i in range(len(subdomain_urls)):
ws[f"A{i + 2}"] = str(subdomain_urls[i])
for i in range(len(subdomain_ip)):
ws[f"B{i + 2}"] = str(subdomain_ip[i])
for i in range(len(subdomain_mails)):
Expand Down

0 comments on commit 416c03c

Please sign in to comment.