Skip to content

Commit

Permalink
feat: Beginning the scan page.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Dec 27, 2024
1 parent 6bd8a46 commit 83d8b9d
Show file tree
Hide file tree
Showing 2 changed files with 436 additions and 1 deletion.
194 changes: 193 additions & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,201 @@ <h3 class="text-xl font-semibold leading-6 text-gray-900">Connection security</h
<div class="mt-8 flow-root">
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8">
<table class="min-w-full divide-y divide-gray-300">
<tbody class="divide-y divide-gray-200 bg-white">

<p>testing…</p>
<tr class="border-t border-gray-200">
<th colspan="2" scope="colgroup" class="bg-gray-100 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3">Access</th>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3">Server signature(s)</td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900"><a href="https://cloudflare.com" class="ui-link">Cloudflare</a>, <a href="https://fastly.com" class="ui-link">Fastly</a>, <a href="https://github.com" class="ui-link">GitHub</a></td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3">HTTP status</td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">200</td>
</tr>

<tr class="h-8"></tr>

<tr class="border-t border-gray-200">
<th colspan="2" scope="colgroup" class="bg-gray-100 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3">Protocols</th>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3">Secure protocols (should be enabled)</td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}TLS 1.3: Enabled
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}TLS 1.2: Enabled
</span>
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3">Insecure protocols (should be disabled)</td>
<td class="px-2 py-2 text-sm font-medium text-gray-900" colspan="2">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}TLS 1.1: Disabled
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}TLS 1.0: Disabled
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}SSL v3: Disabled
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}SSL v2: Disabled
</span>
</td>
</tr>

<tr class="h-8"></tr>

<tr class="border-t border-gray-200">
<th colspan="2" scope="colgroup" class="bg-gray-100 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3">TLS 1.3 cipher suites</th>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_AES_128_GCM_SHA256</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_AES_256_GCM_SHA384</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_CHACHA20_POLY1305_SHA256</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>

<tr class="h-8"></tr>

<tr class="border-t border-gray-200">
<th colspan="2" scope="colgroup" class="bg-gray-100 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3">TLS 1.2 cipher suites</th>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>OLD_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-alert-wrap">
{{ partial "heroicons/solid/exclamation-triangle.svg" (dict "class" "ui-badge-alert-svg") }}No AEAD
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Strong
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-alert-wrap">
{{ partial "heroicons/solid/exclamation-triangle.svg" (dict "class" "ui-badge-alert-svg") }}No AEAD
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-alert-wrap">
{{ partial "heroicons/solid/exclamation-triangle.svg" (dict "class" "ui-badge-alert-svg") }}No AEAD
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-3"><code>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384</code></td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">
<span class="ui-badge-success-wrap">
{{ partial "heroicons/solid/check-circle.svg" (dict "class" "ui-badge-success-svg") }}Forward Secrecy
</span>
<span class="ui-badge-alert-wrap">
{{ partial "heroicons/solid/exclamation-triangle.svg" (dict "class" "ui-badge-alert-svg") }}No AEAD
</span>
<span title="Elliptic-curve Diffie-Hellman">ECDH</span> x25519 (eq. 3072 bits RSA)
</td>
</tr>

</tbody>
</table>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 83d8b9d

Please sign in to comment.