id: github-enterprise-detect

info:
  name: Github Enterprise Login Panel - Detect
  author: ehsahil
  severity: info
  description: Github Enterprise login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: enterprise_server
    shodan-query: title:"Setup GitHub Enterprise"
    vendor: github
    verified: true
  tags: panel,github

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        words:
          - "GitHub · Enterprise"
# digest: 4a0a0047304502206e9450773ad5801efc61f7155a2787220ca5f08e5902e582dc01c97db2047996022100d5fad6e5452e5703a158a1894aa6249879ad22a808e535a3f5ba096fec35ca17:922c64590222798bb761d5b6d8e72950