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:
    verified: true
    max-request: 1
    vendor: github
    product: enterprise_server
    shodan-query:
      - title:"Setup GitHub Enterprise"
      - micro focus dsd
  tags: panel,github

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

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