summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2021-06-14 21:06:51 +0000
committerepoch <epoch@hack.thebackupbox.net>2021-06-14 21:06:51 +0000
commita56a48a6a7f153ddc8effce043d015d96d195976 (patch)
tree488865a0dd1ccc53b962fb2bb200efc8fbe36bda
parent5d31e65d2ea0772afa23c35461753ba276f2e379 (diff)
parent06f4665fed2ee020f2194f4cbb03e5c604f6007a (diff)
downloaduritools-a56a48a6a7f153ddc8effce043d015d96d195976.tar.gz
uritools-a56a48a6a7f153ddc8effce043d015d96d195976.zip
Merge branch 'master' of ssh://git.thebackupbox.net/uritools
-rwxr-xr-xurnresolve6
1 files changed, 6 insertions, 0 deletions
diff --git a/urnresolve b/urnresolve
index d2ae38a..1af4304 100755
--- a/urnresolve
+++ b/urnresolve
@@ -29,6 +29,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