id: setup-github-enterprise

info:
  name: Setup GitHub Enterprise - Detect
  author: tess
  severity: unknown
  classification:
    cpe: cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: github
    product: enterprise_server
    shodan-query: http.favicon.hash:-1373456171
  tags: misconfig,installer,github,setup

http:
  - method: GET
    path:
      - '{{BaseURL}}/setup/start'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Setup GitHub Enterprise"
          - "Install GitHub Enterprise"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402203816f694779021a67d5763968e06c026d9b5652e42f239c053bf6ec708fdcf1b022044971f3921eb672a05d4a1d9af0b087b65940eac3472f809cd670a835cc6680d:922c64590222798bb761d5b6d8e72950