mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-03-03 02:00:45 +00:00
102 lines
3.9 KiB
HTML
102 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ site.lang | default: "en-US" }}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{% seo %}
|
|
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
|
<!--[if lt IE 9]>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<header>
|
|
<h1><a href="{{ "/" | absolute_url }}">
|
|
{% if site.logo %}
|
|
<img src="{{site.logo | relative_url}}" alt="Logo" />
|
|
{% else %}
|
|
{{ site.title | default: site.github.repository_name }}
|
|
{% endif %}
|
|
</a></h1>
|
|
|
|
<p>{{ site.description | default: site.github.project_tagline }}</p>
|
|
|
|
{% if site.github.is_project_page %}
|
|
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
|
|
{% endif %}
|
|
|
|
{% if site.github.is_user_page %}
|
|
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
|
|
{% endif %}
|
|
|
|
{% if site.show_downloads %}
|
|
<ul class="downloads">
|
|
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
|
|
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
|
|
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
|
|
</ul>
|
|
{% endif %}
|
|
|
|
|
|
<div>
|
|
<div>
|
|
Lookup Vulnerability<br />
|
|
<input type="text" id="searchInput" placeholder="Vulnerability ID">
|
|
<button id="searchButton" class="searchButton">Find</button>
|
|
</div>
|
|
<div>
|
|
<a href="{{ site.baseurl }}{% link kbindex.html %}">All vulnerabilies</a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<section>
|
|
|
|
{{ content }}
|
|
|
|
</section>
|
|
<footer>
|
|
{% if site.github.is_project_page %}
|
|
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
|
|
{% endif %}
|
|
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
|
|
</footer>
|
|
</div>
|
|
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
|
|
<script type="text/javascript">
|
|
var articleUrlTemplate = "{{ site.baseurl }}{% link _kb/KHV002.md %}";
|
|
var searchInput = document.getElementById("searchInput");
|
|
var searchButton = document.getElementById("searchButton");
|
|
searchInput.addEventListener("keyup", function(event) {
|
|
if (event.keyCode === 13) {
|
|
event.preventDefault();
|
|
doSearch();
|
|
}
|
|
});
|
|
searchButton.addEventListener("click", function(event) {
|
|
event.preventDefault();
|
|
doSearch();
|
|
});
|
|
function doSearch() {
|
|
var searchTerm = searchInput.value;
|
|
searchTerm = searchTerm.toUpperCase();
|
|
if (!searchTerm.startsWith("KHV")) {
|
|
searchTerm = "KHV" + searchTerm;
|
|
}
|
|
window.location = articleUrlTemplate.replace("KHV002",searchTerm);
|
|
}
|
|
</script>
|
|
{% if site.google_analytics %}
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{% endif %}
|
|
</body>
|
|
</html> |