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,discovery

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: 4b0a00483046022100c212c1f849cf28466043be1331c1c43c13682bcc8b1c9bdbce4431fe23106012022100fd3b1490e7cf16071f9032cda9199383d87df52673ad50e750d380e2cc2c982b:922c64590222798bb761d5b6d8e72950