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 09a9fbeff..000000000 Binary files a/src/drivers/webextension/images/icons/Ruby on Rails.png and /dev/null differ 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 6f7caa6fc..57fe8b8af 100644 --- a/src/technologies/r.json +++ b/src/technologies/r.json @@ -2322,7 +2322,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": "https://ruby-lang.org" @@ -2357,7 +2357,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 de2832413..63eb3133b 100644 --- a/src/technologies/w.json +++ b/src/technologies/w.json @@ -835,6 +835,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