diff --git a/web/templates/report/modern.html b/web/templates/report/modern.html index 7af7e3bc..ed50ef39 100644 --- a/web/templates/report/modern.html +++ b/web/templates/report/modern.html @@ -469,7 +469,43 @@ margin-left: auto; margin-right: auto; width: 50%; - } + } + + {% comment %} interesting-subdomain-table {% endcomment %} + .interesting-subdomain-table-container { + width: 100%; + margin: auto auto; + background-color: #ffffff; + border-radius: 4mm; + overflow: hidden; + } + .interesting-subdomain-table { + width: 100%; + border-collapse: separate; + border-spacing: 0.5mm; + background-color: #ffffff; + } + .interesting-subdomain-table th, .interesting-subdomain-table td { + padding: 2.5mm 3mm; + text-align: center; + vertical-align: middle; + } + .interesting-subdomain-table th { + background-color: #696969; + color: white; + font-weight: bold; + } + .interesting-subdomain-table .page-title-td { + text-align: left !important; + } + .interesting-subdomain-table .subdomain-name-td { + text-align: left !important; + } + .status-td { + width: 10mm; + text-align: center; + font-weight: bold; + } @@ -650,47 +686,75 @@ src="data:image/png;base64,{{ vulns_severity_chart }}" /> {% endif %} -
-

Summary of Vulnerabilities Identified

+
+

Interesting Subdomains

- Listed below are the vulnerabilities identified on {{ scan_object.domain.name }} + Listed below are the interesting subdomains identified on {{ scan_object.domain.name }}

-
- +
+
- - - + + + - {% for vulnerability in unique_vulnerabilities %} - + {% for subdomain in interesting_subdomains %} + - - - + + {% endfor %}
#Vulnerability NameInstancesSeveritySubdomainPage TitleHTTP Status
{{ forloop.counter }} - {{ vulnerability.name }} - {{ vulnerability.count }} - {% if vulnerability.severity == -1 %} - Unknown - {% elif vulnerability.severity == 0 %} - Informational - {% elif vulnerability.severity == 1 %} - Low - {% elif vulnerability.severity == 2 %} - Medium - {% elif vulnerability.severity == 3 %} - High - {% elif vulnerability.severity == 4 %} - Critical - {% endif %} + {{ subdomain.name }}{{ subdomain.ip_address }} + {% if subdomain.http_status %}{{ subdomain.http_status }}{% endif %}
+ {% if show_vuln %} +
+

Summary of Vulnerabilities Identified

+

+ Listed below are the vulnerabilities identified on {{ scan_object.domain.name }} +

+
+ + + + + + + + {% for vulnerability in unique_vulnerabilities %} + + + + + + + {% endfor %} +
#Vulnerability NameInstancesSeverity
{{ forloop.counter }} + {{ vulnerability.name }} + {{ vulnerability.count }} + {% if vulnerability.severity == -1 %} + Unknown + {% elif vulnerability.severity == 0 %} + Informational + {% elif vulnerability.severity == 1 %} + Low + {% elif vulnerability.severity == 2 %} + Medium + {% elif vulnerability.severity == 3 %} + High + {% elif vulnerability.severity == 4 %} + Critical + {% endif %} +
+
+
+ {% endif %}

END OF REPORT