id: onedev-panel

info:
  name: OneDev Panel - Detect
  author: vultza
  severity: info
  description: |
    OneDev is a Git Server with CI/CD, Kanban, and Packages.
  reference:
    - https://github.com/theonedev/onedev
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"OneDev"
  tags: tech,detect,onedev,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/~login"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "OneDev"
          - "Git Server"
        condition: and
        case-insensitive: true

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