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

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