Skip to content

Commit

Permalink
Fixed wrong behaviour of Google Dorking representation in XLSX report
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES committed Sep 5, 2024
1 parent f7cdfe2 commit a83dfcf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions reporting_modules/xlsx_report_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ def create_report(short_domain, url, case_comment, data_array, report_info_array
try:
ip = data_array[0]
res = data_array[1]
#mails
#subdomains
subdomains_amount = data_array[4]
#social_medias
subdomain_mails = data_array[6]
#sd_socials,
subdomain_ip = data_array[8]
issuer = data_array[9]
subject = data_array[10]
Expand Down Expand Up @@ -61,6 +57,7 @@ def create_report(short_domain, url, case_comment, data_array, report_info_array
exposed_passwords_counter = data_array[40]
total_links_counter = data_array[41]
accessed_links_counter = data_array[42]
dorking_results = data_array[43]
casename = report_info_array[0]
db_casename = report_info_array[1]
db_creation_date = report_info_array[2]
Expand Down Expand Up @@ -314,8 +311,8 @@ def create_report(short_domain, url, case_comment, data_array, report_info_array

ws = wb['DORKING RESULTS']
ws.column_dimensions['A'].width = 80
#for i in range(len(dorking_results)):
#ws[f"A{i + 1}"] = str(dorking_results[i])
for i in range(len(dorking_results)):
ws[f"A{i + 1}"] = str(dorking_results[i])

report_file = report_folder + "//" + casename
wb.save(report_file)
Expand Down

0 comments on commit a83dfcf

Please sign in to comment.