<html>
<head>
    <title>{{title}}</title>
</head>
<body>
    <h1>{{title}}</h1>
    <p><b>Target:</b> {{target_url}}<br>
    <b>Assessment Date:</b> {{scan_start_time}} - {{scan_end_time}}<br>
    <b>Total Findings:</b> {{total_findings}}<br>
    <b>Critical Issues:</b> {{critical_count}}</p>
    <hr>
    <h2>Vulnerability Details</h2>
    {% for finding in findings %}
    <h3>{{finding.severity}} - {{finding.title}}</h3>
    <b>CVSS Score:</b> {{finding.cvss_score}}<br>
    <b>Affected Endpoints:</b> {{finding.affected_endpoints}}<br>
    <b>Description:</b><pre>{{finding.description}}</pre>
    <b>Proof of Concept:</b><pre>{{finding.proof_of_concept}}</pre>
    <b>Impact:</b><pre>{{finding.impact}}</pre>
    <b>Remediation:</b><pre>{{finding.remediation}}</pre>
    <b>References:</b> {{finding.references}}<br>
    <b>Discovered At:</b> {{finding.discovered_at}}<hr>
    {% endfor %}
    <h2>Appendix</h2>
    <ul>
        <li><b>Scan Duration:</b> {{scan_duration}}</li>
        <li><b>LogicPwn Version:</b> {{logicpwn_version}}</li>
        <li><b>Authentication:</b> {{authenticated_user}}</li>
    </ul>
</body>
</html> 