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,discovery

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

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