|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en-US" data-theme="dark"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + {%- if page.title == "Home" -%} |
| 7 | + {%- assign page_title = site.title | append: ": " | append: site.tagline -%} |
| 8 | + {%- else -%} |
| 9 | + {%- assign page_title = page.title | append: " | " | append: site.title -%} |
| 10 | + {%- endif -%} |
| 11 | + {%- assign page_description = page.description | default: site.description %} |
| 12 | + <title>{{ page_title }}</title> |
| 13 | + <meta name="description" content="{{ page_description }}"> |
| 14 | + <meta name="color-scheme" content="dark light"> |
| 15 | + <meta name="theme-color" content="#0E1726"> |
| 16 | + <link rel="canonical" href="{{ page.url | absolute_url }}"> |
| 17 | + <meta property="og:type" content="website"> |
| 18 | + <meta property="og:site_name" content="{{ site.title }}"> |
| 19 | + <meta property="og:title" content="{{ page_title }}"> |
| 20 | + <meta property="og:description" content="{{ page_description }}"> |
| 21 | + <meta property="og:url" content="{{ page.url | absolute_url }}"> |
| 22 | + <meta property="og:image" content="{{ site.social_image | absolute_url }}"> |
| 23 | + <meta property="og:image:width" content="1200"> |
| 24 | + <meta property="og:image:height" content="630"> |
| 25 | + <meta property="og:image:alt" content="subenum: every DNS query, accounted for"> |
| 26 | + <meta name="twitter:card" content="summary_large_image"> |
| 27 | + <meta name="twitter:title" content="{{ page_title }}"> |
| 28 | + <meta name="twitter:description" content="{{ page_description }}"> |
| 29 | + <meta name="twitter:image" content="{{ site.social_image | absolute_url }}"> |
| 30 | + <link rel="icon" href="{{ '/assets/favicon.svg' | relative_url }}" type="image/svg+xml"> |
| 31 | + <script> |
| 32 | + // Set the theme before first paint so a light-mode reader never sees a dark flash. |
| 33 | + (function () { |
| 34 | + var t = null; |
| 35 | + try { t = localStorage.getItem('subenum-theme'); } catch (e) {} |
| 36 | + if (t !== 'light' && t !== 'dark') { |
| 37 | + t = window.matchMedia && matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark'; |
| 38 | + } |
| 39 | + document.documentElement.setAttribute('data-theme', t); |
| 40 | + })(); |
| 41 | + </script> |
| 42 | + <link rel="preconnect" href="https://fonts.googleapis.com"> |
| 43 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
| 44 | + <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap"> |
| 45 | + <link rel="stylesheet" href="{{ '/assets/css/site.css' | relative_url }}?v={{ site.time | date: '%s' }}"> |
| 46 | + </head> |
| 47 | + <body class="{{ page.body_class | default: 'is-doc' }}"> |
| 48 | + <a class="skip-link" href="#content">Skip to content</a> |
| 49 | + |
| 50 | + <header class="topbar"> |
| 51 | + <div class="topbar-inner"> |
| 52 | + <a class="brand" href="{{ '/' | relative_url }}" aria-label="subenum home"> |
| 53 | + <svg class="brand-mark" viewBox="2 2 26 28" aria-hidden="true"> |
| 54 | + <path d="M10 16H14M14 8V24M14 8H19M14 16H19M14 24H19" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| 55 | + <circle cx="7.5" cy="16" r="3.5" class="mark-apex"/> |
| 56 | + <rect x="19.5" y="5" width="6" height="6" rx="1.2" class="mark-hit"/> |
| 57 | + <rect x="19.5" y="13" width="6" height="6" rx="1.2" class="mark-hit"/> |
| 58 | + <rect x="20.25" y="21.75" width="4.5" height="4.5" rx="0.9" class="mark-miss"/> |
| 59 | + </svg> |
| 60 | + <span class="brand-word">subenum</span> |
| 61 | + </a> |
| 62 | + {%- if site.github.latest_release.tag_name %} |
| 63 | + <a class="release-tag" href="{{ site.github.latest_release.html_url }}" title="Latest release">{{ site.github.latest_release.tag_name }}</a> |
| 64 | + {%- endif %} |
| 65 | + |
| 66 | + <nav class="topnav" aria-label="Primary"> |
| 67 | + <a href="{{ '/start.html' | relative_url }}"{% if page.url == '/start.html' %} aria-current="page"{% endif %}>Docs</a> |
| 68 | + <a href="{{ '/cli.html' | relative_url }}"{% if page.url == '/cli.html' %} aria-current="page"{% endif %}>CLI reference</a> |
| 69 | + <a href="{{ '/labs.html' | relative_url }}"{% if page.url == '/labs.html' %} aria-current="page"{% endif %}>Labs</a> |
| 70 | + <a href="{{ '/library.html' | relative_url }}"{% if page.url == '/library.html' %} aria-current="page"{% endif %}>Go library</a> |
| 71 | + </nav> |
| 72 | + |
| 73 | + <div class="topbar-tools"> |
| 74 | + <button type="button" class="search-trigger" data-search-open aria-label="Search the docs"> |
| 75 | + <svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="8.5" cy="8.5" r="5.5"/><path d="M13 13l4 4"/></svg> |
| 76 | + <span class="search-trigger-label">Search</span> |
| 77 | + <kbd>/</kbd> |
| 78 | + </button> |
| 79 | + <button type="button" class="icon-btn" data-theme-toggle aria-label="Switch to light theme"> |
| 80 | + <svg class="i-sun" viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="3.5"/><path d="M10 2v2M10 16v2M2 10h2M16 10h2M4.3 4.3l1.4 1.4M14.3 14.3l1.4 1.4M4.3 15.7l1.4-1.4M14.3 5.7l1.4-1.4"/></svg> |
| 81 | + <svg class="i-moon" viewBox="0 0 20 20" aria-hidden="true"><path d="M16 12.5A6.5 6.5 0 0 1 7.5 4a6.5 6.5 0 1 0 8.5 8.5z"/></svg> |
| 82 | + </button> |
| 83 | + <a class="icon-btn" href="https://github.com/{{ site.repository }}" aria-label="subenum on GitHub"> |
| 84 | + <svg viewBox="0 0 16 16" aria-hidden="true" class="i-fill"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg> |
| 85 | + </a> |
| 86 | + <button type="button" class="icon-btn menu-btn" data-menu-open aria-label="Open navigation" aria-expanded="false" aria-controls="drawer"> |
| 87 | + <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3 6h14M3 10h14M3 14h14"/></svg> |
| 88 | + </button> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + </header> |
| 92 | + |
| 93 | + <div class="drawer" id="drawer" hidden> |
| 94 | + <div class="drawer-scrim" data-menu-close></div> |
| 95 | + <nav class="drawer-panel" aria-label="Documentation"> |
| 96 | + <div class="drawer-head"> |
| 97 | + <span class="brand-word">subenum</span> |
| 98 | + <button type="button" class="icon-btn" data-menu-close aria-label="Close navigation"> |
| 99 | + <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M5 5l10 10M15 5L5 15"/></svg> |
| 100 | + </button> |
| 101 | + </div> |
| 102 | + <a class="drawer-home" href="{{ '/' | relative_url }}">Home</a> |
| 103 | + {% include doc-nav.html %} |
| 104 | + </nav> |
| 105 | + </div> |
| 106 | + |
| 107 | + {{ content }} |
| 108 | + |
| 109 | + <footer class="site-footer"> |
| 110 | + <div class="footer-inner"> |
| 111 | + <div class="footer-brand"> |
| 112 | + <span class="brand-word">subenum</span> |
| 113 | + <p>Subdomain enumeration that tells you how far to trust the answer. Free software under GPL-3.0, maintained by <a href="https://github.com/TMHSDigital">TMHSDigital</a>.</p> |
| 114 | + <p class="footer-legal">Scan only domains you own or have written permission to test.</p> |
| 115 | + </div> |
| 116 | + {%- for group in site.data.nav %} |
| 117 | + {%- if group.footer %} |
| 118 | + <div class="footer-col"> |
| 119 | + <h2>{{ group.section }}</h2> |
| 120 | + <ul> |
| 121 | + {%- for item in group.pages %} |
| 122 | + <li><a href="{% if item.external %}{{ item.url }}{% else %}{{ item.url | relative_url }}{% endif %}">{{ item.title }}</a></li> |
| 123 | + {%- endfor %} |
| 124 | + </ul> |
| 125 | + </div> |
| 126 | + {%- endif %} |
| 127 | + {%- endfor %} |
| 128 | + <div class="footer-col"> |
| 129 | + <h2>Elsewhere</h2> |
| 130 | + <ul> |
| 131 | + <li><a href="https://github.com/{{ site.repository }}/releases">Releases</a></li> |
| 132 | + <li><a href="https://github.com/{{ site.repository }}/blob/main/CHANGELOG.md">Changelog</a></li> |
| 133 | + <li><a href="https://github.com/{{ site.repository }}/blob/main/SECURITY.md">Security policy</a></li> |
| 134 | + <li><a href="https://pkg.go.dev/github.com/{{ site.repository }}/pkg/subenum">pkg.go.dev</a></li> |
| 135 | + </ul> |
| 136 | + </div> |
| 137 | + </div> |
| 138 | + </footer> |
| 139 | + |
| 140 | + <div class="search" data-search hidden> |
| 141 | + <div class="search-scrim" data-search-close></div> |
| 142 | + <div class="search-panel" role="dialog" aria-modal="true" aria-label="Search the docs"> |
| 143 | + <div class="search-field"> |
| 144 | + <svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="8.5" cy="8.5" r="5.5"/><path d="M13 13l4 4"/></svg> |
| 145 | + <input type="search" placeholder="Search flags, guides, internals" autocomplete="off" spellcheck="false" aria-label="Search query" aria-controls="search-results" data-search-input> |
| 146 | + <kbd>esc</kbd> |
| 147 | + </div> |
| 148 | + <ol class="search-results" id="search-results" data-search-results></ol> |
| 149 | + <p class="search-empty" data-search-empty hidden></p> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + |
| 153 | + <script>window.SUBENUM = { searchIndex: "{{ '/search.json' | relative_url }}" };</script> |
| 154 | + <script src="{{ '/assets/js/site.js' | relative_url }}?v={{ site.time | date: '%s' }}" defer></script> |
| 155 | + </body> |
| 156 | +</html> |
0 commit comments