id: bonobo-server-panel

info:
  name: Bonobo Git Server Login Panel - Detect
  author: bhutch
  severity: info
  description: |
    Bonobo Git Server login panel was detected.
  classification:
    cpe: cpe:2.3:a:bonobogitserver:bonobo_git_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: bonobogitserver
    product: bonobo_git_server
    shodan-query: http.favicon.hash:-219625874
  tags: panel,bonobo,git,login,detect

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

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<a href="https://github.com/jakubgarfield/Bonobo-Git-Server">'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)bonobo git server \((.*)\)'
# digest: 4a0a0047304502201f7417fa35988ea24a7f3650230b3b223d4b43811373e31ede4ec0c9603a7625022100b312c1098626447cc4806cf0cf3cc03efca5d2fefc1757548efa69a49b3ed12b:922c64590222798bb761d5b6d8e72950