id: apache-ofbiz-detect

info:
  name: Apache OFBiz - Detect
  author: rxerium
  severity: info
  description: |
    An Apache OFBiz instance was detected.
  classification:
    cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: ofbiz
    fofa-query: app="Apache_OFBiz"
  tags: tech,detect,ofbiz,apache

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "OFBiz.Visitor="
          - "Apache OFBiz."
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ad599f062f6234fedba1c1f2eded1dce609690ea7c2dddebda26c46b9637147e02200fca1bcc9fc58306d64a0975965c75868b7096a561edb609d7d652d5a4496604:922c64590222798bb761d5b6d8e72950