Skip to content

Commit

Permalink
Merge pull request #42 from Ostorlab/feature/add_ofbiz_plugin
Browse files Browse the repository at this point in the history
Feature/add ofbiz plugin
  • Loading branch information
3asm authored Aug 8, 2024
2 parents 4044069 + 268f78e commit 93f5666
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions plugins/ofbiz.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 93f5666

Please sign in to comment.