mirror of
https://github.com/0xMarcio/cve.git
synced 2026-10-27 16:51:03 +00:00
Track PoC releases independently and expand verified sources
This commit is contained in:
1 parent
ecabad726b
commit
dbe6530b3c
804 files changed
+142287
-1361
No files matched your search
@@ -17,6 +17,7 @@ import tarfile
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
import releases
|
||||
from update_cves import ensure_cve_entries
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
@@ -253,6 +254,9 @@ def main() -> int:
|
||||
json.dump(payload, handle, indent=0, sort_keys=True)
|
||||
handle.write("\n")
|
||||
|
||||
if not args.dry_run:
|
||||
releases.save_ledger(releases.reconcile(releases.load_ledger(), releases.published_pairs()))
|
||||
|
||||
rated = sum(1 for e in payload.values() if "cvss" in e)
|
||||
print(f"markdown: {tally['added']:,} links added, {tally['unchanged']:,} already there, "
|
||||
f"{tally['absent']:,} for CVEs not in the index, {stale:,} sections withdrawn")
|
||||
|
||||
Reference in new issue
Block a user