From d1717ead07bcbb7b100240b65f3567afa675118f Mon Sep 17 00:00:00 2001 From: pirahnasa Date: Thu, 8 Aug 2024 09:40:01 +0100 Subject: [PATCH 1/2] Adding OFBIZ plugin finger-print --- Dockerfile | 1 + plugins/ofbiz.rb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 plugins/ofbiz.rb diff --git a/Dockerfile b/Dockerfile index 035cddd..d2fe343 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN apk update && apk add --virtual build-dependencies build-base ruby ruby-dev RUN gem install bundler RUN git clone https://github.com/urbanadventurer/WhatWeb.git WORKDIR /WhatWeb +COPY plugins/* /WhatWeb/plugins/ RUN bundle install COPY --from=builder /install /usr/local diff --git a/plugins/ofbiz.rb b/plugins/ofbiz.rb new file mode 100644 index 0000000..d817a1e --- /dev/null +++ b/plugins/ofbiz.rb @@ -0,0 +1,18 @@ +Plugin.define do + name "ofbiz" + authors [ + "Ostorlab", + ] + version "0.1" + description "OFBiz is an open-source enterprise resource planning (ERP) system." + website "https://ofbiz.apache.org/" + + matches [ + { + :search => "headers[Set-Cookie]", + :regexp => /OFBiz\.Visitor=/, + :name => "OFBiz.Visitor cookie" + }, + ] + end + From 268f78eb516e4a5da0fbb01d082b60777a0f3a0f Mon Sep 17 00:00:00 2001 From: pirahnasa Date: Thu, 8 Aug 2024 09:41:40 +0100 Subject: [PATCH 2/2] Adding OFBIZ plugin finger-print --- plugins/ofbiz.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ofbiz.rb b/plugins/ofbiz.rb index d817a1e..7dd441b 100644 --- a/plugins/ofbiz.rb +++ b/plugins/ofbiz.rb @@ -1,5 +1,5 @@ Plugin.define do - name "ofbiz" + name "OFBiz" authors [ "Ostorlab", ]