From af34b2cd50b86ee3ad099fabbc4ed3469cb06717 Mon Sep 17 00:00:00 2001 From: nurbek Date: Wed, 7 Jun 2023 02:46:03 +0600 Subject: [PATCH] Add WEBrick / web-server --- .../webextension/images/icons/Ruby on Rails.png | Bin 1054 -> 0 bytes .../webextension/images/icons/Ruby on Rails.svg | 6 ++++++ src/technologies/r.json | 4 ++-- src/technologies/w.json | 13 +++++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) delete mode 100644 src/drivers/webextension/images/icons/Ruby on Rails.png create mode 100644 src/drivers/webextension/images/icons/Ruby on Rails.svg diff --git a/src/drivers/webextension/images/icons/Ruby on Rails.png b/src/drivers/webextension/images/icons/Ruby on Rails.png deleted file mode 100644 index 09a9fbeff18c02cca7fd260e9e8a5865f35ce4f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1054 zcmV+(1mXLMP)qyl!8AyA@74qH+jLqYG|4u*E_`G&%)IY=Z{B+|OGtrFqfgMdCTQlE z8Pa{GCTCkj>@t}cal9l#$^Uo~O!^Hf#skxmMEL&^LFH77@Fx}(TM|t7|GSQBUI`dv z68;cGuPiEur-`*_8A!)re4ash4Y1ZAd@1HsB{VtKq!B&Agl^GjB}7VB0^&YBXi`xF z>@}FE1j!n_H-h{T@Cj&BXa_z34}ci9rWS&?CmFAH9fihVc>tsTj?@c1=9g!JSPC}Tc zbdi^cVi-FOBcHPn+xQIPn^?CXUev#2$Bcfyb<2lpv5?*eV{@^759YkaoQ9m_@Nys~ z-&dilJ{gP#vFNM{X*TkAz}|XZ7QoyX!o9N7p2fs4j2${rT+UAhN+XuWC*~Hw?YZkdHIUh=gi5ZB-=57)!6D<&X7Fj+m$@GAyjR$pG zp-QYJ2l+GX?<~AugVzf@BabuL8%B?+63gcOH;YEr9p;>2t5yTm9(ph4s&dQbeJi|w z-VhOij=bT1i*mm=b|>WqCL(claqwk zCTYOkVFU7Q9o>unw3r-^WZJDdS2l86+~b5#PQu!EShu0@_S(B#Lnzn4;2juhjs^5S z>H5#!YE!EJH^oAw=#FAJu-@GPJ`K4h5hQiKi#RWuox& zUW-nLp+BnT_n;Zo*w-b80@9U`U}A`y({8ctefpxvPx#07*qoM6N<$f)S+e%>V!Z diff --git a/src/drivers/webextension/images/icons/Ruby on Rails.svg b/src/drivers/webextension/images/icons/Ruby on Rails.svg new file mode 100644 index 000000000..46ab616f8 --- /dev/null +++ b/src/drivers/webextension/images/icons/Ruby on Rails.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/technologies/r.json b/src/technologies/r.json index edc28224e..052cd7bc0 100644 --- a/src/technologies/r.json +++ b/src/technologies/r.json @@ -2293,7 +2293,7 @@ "cpe": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "description": "Ruby is an open-source object-oriented programming language.", "headers": { - "Server": "(?:Mongrel|WEBrick|Ruby)" + "Server": "(?:Mongrel|Ruby(?:/([\\d\\.]+))?)\\;version:\\1" }, "icon": "Ruby.png", "website": "http://ruby-lang.org" @@ -2328,7 +2328,7 @@ "Server": "mod_(?:rails|rack)", "X-Powered-By": "mod_(?:rails|rack)" }, - "icon": "Ruby on Rails.png", + "icon": "Ruby on Rails.svg", "implies": "Ruby", "js": { "ReactOnRails": "", diff --git a/src/technologies/w.json b/src/technologies/w.json index 40b4229ec..fa8fb5777 100644 --- a/src/technologies/w.json +++ b/src/technologies/w.json @@ -824,6 +824,19 @@ "saas": true, "website": "https://www.webnode.com" }, + "WEBrick": { + "cats": [ + 22 + ], + "cpe": "cpe:2.3:a:ruby-lang:webrick:*:*:*:*:*:*:*:*", + "description": "WEBrick is a lightweight HTTP server library in Ruby, included in the standard library, primarily used for local development and testing of Ruby web applications.", + "icon": "Ruby.png", + "headers": { + "Server": "^WEBrick/([\\d\\.]+)\\;version:\\1" + }, + "oss": true, + "website": "https://docs.ruby-lang.org/en/2.4.0/WEBrick.html" + }, "WebRTC": { "cats": [ 19