mirror of
https://github.com/0xMarcio/cve.git
synced 2026-02-12 18:42:46 +00:00
Fix PoC search data path and clean naming
This commit is contained in:
@@ -3,25 +3,25 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>CVE Intelligence</title>
|
||||
<title>CVE PoC Hub</title>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<script defer src="/assets/site.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<div class="wrap">
|
||||
<div class="brand"><a href="/">CVE Radar</a></div>
|
||||
<div class="brand"><a href="/">CVE PoC Hub</a></div>
|
||||
<nav>
|
||||
<a href="/search/">PoC Search</a>
|
||||
<a href="/kev/">KEV</a>
|
||||
<a href="/epss/">EPSS</a>
|
||||
<a href="/diffs/">Diffs</a>
|
||||
<a href="/search/">Search</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<main class="wrap">
|
||||
<section>
|
||||
<h1>Top KEV by EPSS percentile</h1>
|
||||
<h1>KEV with high EPSS</h1>
|
||||
<div class="card-grid">
|
||||
<article class="card">
|
||||
<div class="card-title"><a href="/cve/CVE-2025-9242.html">CVE-2025-9242</a></div>
|
||||
@@ -132,7 +132,7 @@
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h1>High EPSS not in KEV</h1>
|
||||
<h1>EPSS standouts (outside KEV)</h1>
|
||||
<div class="card-grid">
|
||||
<article class="card">
|
||||
<div class="card-title"><a href="/cve/CVE-2025-9316.html">CVE-2025-9316</a></div>
|
||||
|
||||
@@ -132,7 +132,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
if (val !== '') {
|
||||
controls.displayResults();
|
||||
currentSet = window.controls.doSearch(val, window.dataset);
|
||||
currentSet = window.controls.doSearch(val, window.dataset || []);
|
||||
|
||||
if (currentSet.length < totalLimit) {
|
||||
window.controls.setColor(colorUpdate, currentSet.length === 0 ? 'no-results' : 'results-found');
|
||||
@@ -150,13 +150,24 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
}
|
||||
|
||||
fetch('../CVE_list.json')
|
||||
.then(res => res.json())
|
||||
fetch('/CVE_list.json')
|
||||
.then(res => {
|
||||
if (!res.ok) {
|
||||
throw new Error(`Failed to load CVE list (${res.status})`);
|
||||
}
|
||||
return res.json();
|
||||
})
|
||||
.then(data => {
|
||||
window.dataset = data;
|
||||
window.dataset = Array.isArray(data) ? data : [];
|
||||
currentSet = window.dataset;
|
||||
window.controls.updateResults(resultsTable, window.dataset);
|
||||
doSearch({ type: 'none' });
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
window.dataset = [];
|
||||
noResults.textContent = 'Unable to load CVE list';
|
||||
noResults.style.display = '';
|
||||
});
|
||||
|
||||
form.addEventListener('submit', doSearch);
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
<body class="color-no-search">
|
||||
<header class="site-header">
|
||||
<div class="wrap">
|
||||
<div class="brand"><a href="/">CVE PoC Search</a></div>
|
||||
<div class="brand"><a href="/">CVE PoC Hub</a></div>
|
||||
<nav>
|
||||
<a href="/search/">Search</a>
|
||||
<a href="/search/">PoC Search</a>
|
||||
<a href="/kev/">KEV</a>
|
||||
<a href="/epss/">EPSS</a>
|
||||
<a href="/diffs/">Diffs</a>
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{ title or 'CVE Intelligence' }}</title>
|
||||
<title>{{ title or 'CVE PoC Hub' }}</title>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<script defer src="/assets/site.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<div class="wrap">
|
||||
<div class="brand"><a href="/">CVE Radar</a></div>
|
||||
<div class="brand"><a href="/">CVE PoC Hub</a></div>
|
||||
<nav>
|
||||
<a href="/search/">PoC Search</a>
|
||||
<a href="/kev/">KEV</a>
|
||||
<a href="/epss/">EPSS</a>
|
||||
<a href="/diffs/">Diffs</a>
|
||||
<a href="/search/">Search</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>EPSS High-Risk (not in KEV)</h1>
|
||||
<h1>EPSS standouts (outside KEV)</h1>
|
||||
<input type="search" placeholder="Filter CVE" data-filter-table="epss-table" class="filter" />
|
||||
<div class="table-responsive">
|
||||
<table class="list" id="epss-table">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<section>
|
||||
<h1>Top KEV by EPSS percentile</h1>
|
||||
<h1>KEV with high EPSS</h1>
|
||||
<div class="card-grid">
|
||||
{% for item in data.kev_top[:15] %}
|
||||
<article class="card">
|
||||
@@ -16,7 +16,7 @@
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h1>High EPSS not in KEV</h1>
|
||||
<h1>EPSS standouts (outside KEV)</h1>
|
||||
<div class="card-grid">
|
||||
{% for item in data.high_epss[:15] %}
|
||||
<article class="card">
|
||||
|
||||
@@ -3,20 +3,22 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}CVE PoC Radar{% endblock %}</title>
|
||||
<title>{% block title %}CVE PoC Hub{% endblock %}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
<div class="wrap">
|
||||
<div class="brand">
|
||||
<a href="/"><span class="dot">●</span> CVE PoC Radar</a>
|
||||
<div class="muted small">Generated {{ generated or summary.generated }}</div>
|
||||
<a href="/"><span class="dot">●</span> CVE PoC Hub</a>
|
||||
<div class="muted small">Updated {{ generated or summary.generated }}</div>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="/">Dashboard</a>
|
||||
<a href="/pocs/">PoC Explorer</a>
|
||||
<a href="/search/">PoC Search</a>
|
||||
<a href="/pocs/">Explorer</a>
|
||||
<a href="/diffs/">Diffs</a>
|
||||
<a href="/epss/">EPSS</a>
|
||||
<a href="/kev/">KEV</a>
|
||||
<a href="https://github.com/0xMarcio/cve" target="_blank" rel="noreferrer">GitHub</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user