mirror of
https://github.com/0xMarcio/cve.git
synced 2026-10-27 16:51:03 +00:00
Cut the trailing feature lists out of every description
The About box, the meta description, the og and twitter tags and the JSON-LD all ended in a tacked-on list of features: "Updated hourly", "Free JSON API, no signup", "Plain JSON, no key". None of it describes what the thing is, and the meta description ran past where a result gets truncated anyway. Four strings collapse to two so they cannot drift apart again. SUBTITLE is the line under the wordmark and the social description; DESCRIPTION is the meta description, the JSON-LD description and the GitHub About box. Both say what the site is and stop.
This commit is contained in:
1 parent
9b9957ea7f
commit
8e0a85a050
2 files changed
+11
-23
No files matched your search
+4
-4
@@ -6,21 +6,21 @@
|
||||
<!-- Absolute URLs all point at the canonical host. Keep them in step with
|
||||
SITE in scripts/brand.py, which drives every generated surface. -->
|
||||
<title>PoC Index: Search CVE Proof-of-Concept Exploits</title>
|
||||
<meta name="description" content="Search 82,000+ public CVE proof-of-concept exploits from GitHub, Nuclei, ExploitDB, Metasploit and Vulhub. Updated hourly. Free JSON API, no signup." />
|
||||
<meta name="description" content="Search 82,000+ public CVE proof-of-concept exploits from GitHub, Nuclei, ExploitDB, Metasploit and Vulhub." />
|
||||
<meta name="robots" content="index, follow, max-image-preview:large" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="canonical" href="https://pocindex.io/" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="PoC Index" />
|
||||
<meta property="og:title" content="PoC Index: Search CVE Proof-of-Concept Exploits" />
|
||||
<meta property="og:description" content="Public proof-of-concept exploits, indexed by CVE. Searchable, refreshed hourly, no signup." />
|
||||
<meta property="og:description" content="Public proof-of-concept exploits, indexed by CVE." />
|
||||
<meta property="og:url" content="https://pocindex.io/" />
|
||||
<meta property="og:image" content="https://pocindex.io/social-card.png" />
|
||||
<meta property="og:image:width" content="1280" />
|
||||
<meta property="og:image:height" content="640" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="PoC Index: Search CVE Proof-of-Concept Exploits" />
|
||||
<meta name="twitter:description" content="Public proof-of-concept exploits, indexed by CVE. Searchable, refreshed hourly, no signup." />
|
||||
<meta name="twitter:description" content="Public proof-of-concept exploits, indexed by CVE." />
|
||||
<meta name="twitter:image" content="https://pocindex.io/social-card.png" />
|
||||
<!-- WebSite.name is how Google decides what to print as the site name in a
|
||||
result. Without it the title, the og tags and the h1 were three different
|
||||
@@ -32,7 +32,7 @@
|
||||
"@type": "WebSite",
|
||||
"name": "PoC Index",
|
||||
"url": "https://pocindex.io/",
|
||||
"description": "Search 82,000+ public CVE proof-of-concept exploits from GitHub, Nuclei, ExploitDB, Metasploit and Vulhub. Updated hourly. Free JSON API, no signup.",
|
||||
"description": "Search 82,000+ public CVE proof-of-concept exploits from GitHub, Nuclei, ExploitDB, Metasploit and Vulhub.",
|
||||
"potentialAction": {
|
||||
"@type": "SearchAction",
|
||||
"target": {
|
||||
|
||||
+7
-19
@@ -7,30 +7,18 @@ here and every generated surface follows.
|
||||
"""
|
||||
|
||||
BRAND = "PoC Index"
|
||||
# Short line under the wordmark, on the site and on both cards.
|
||||
SUBTITLE = "Public proof-of-concept exploits, indexed by CVE."
|
||||
TITLE = f"{BRAND}: Search CVE Proof-of-Concept Exploits"
|
||||
# og:description and twitter:description. Shorter than DESCRIPTION because a
|
||||
# social card truncates far earlier than a search result does.
|
||||
SOCIAL_DESCRIPTION = (
|
||||
f"{SUBTITLE} Searchable, refreshed hourly, no signup."
|
||||
)
|
||||
# Short line under the wordmark, on the site and on both cards. Also carries
|
||||
# og:description and twitter:description.
|
||||
SUBTITLE = "Public proof-of-concept exploits, indexed by CVE."
|
||||
# Meta description, the JSON-LD description and the GitHub About box, which are
|
||||
# three places a reader meets the same sentence and so should be one string.
|
||||
# States what the thing is and stops. No trailing feature list.
|
||||
DESCRIPTION = (
|
||||
"Search 82,000+ public CVE proof-of-concept exploits from GitHub, Nuclei, "
|
||||
"ExploitDB, Metasploit and Vulhub. Updated hourly. Free JSON API, no signup."
|
||||
)
|
||||
# Shown under the GitHub About box and in search results for the repository.
|
||||
# Deliberately unlike the upstream wording: the forks carry the old description
|
||||
# verbatim, so a generic line ranks the copies alongside the original. Kept under
|
||||
# 150 characters because GitHub truncates listings around there.
|
||||
REPO_DESCRIPTION = (
|
||||
"Search 82,000+ public CVE proof-of-concept exploits from GitHub, Nuclei, "
|
||||
"ExploitDB, Metasploit and Vulhub. Updated hourly. Plain JSON, no key."
|
||||
"ExploitDB, Metasploit and Vulhub."
|
||||
)
|
||||
|
||||
# Flip to https://pocindex.io only after DNS resolves and GitHub Pages has issued
|
||||
# the certificate. A canonical pointing at a host that does not answer yet drops
|
||||
# the page out of the index, so this trails the DNS cutover, it does not lead it.
|
||||
SITE = "https://pocindex.io"
|
||||
SLUG = "0xMarcio/pocindex"
|
||||
|
||||
|
||||
Reference in new issue
Block a user