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..7dd441b --- /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 +