From 06f4665fed2ee020f2194f4cbb03e5c604f6007a Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 14 Jun 2021 20:17:49 +0000 Subject: added made-up urn:mitre:cve: URN namespace --- urnresolve | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/urnresolve b/urnresolve index 864859b..1ce59be 100755 --- a/urnresolve +++ b/urnresolve @@ -28,6 +28,12 @@ if [ "$nid" = "xkcd" ];then echo "https://xkcd.com/${nss}" fi +if [ "$nid" = "mitre" ];then + if [ "$nss" = "cve" ];then + echo "https://www.cvedetails.com/cve/CVE-${nss2}/" + fi +fi + if [ "$nid" = "fcc" ];then if [ "$nss" = "frs" ];then grep "^$nss2\s" $PREFIX/share/urn/fcc:frs | cut -f2 -- cgit v1.2.3