id: apigee-panel

info:
  name: Apigee Login Panel - Detect
  author: righettod
  severity: info
  description: |
    Apigee login panel was detected.
  reference:
    - https://cloud.google.com/apigee?hl=en
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:"-839356603"
  tags: panel,apigee,login

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "<title>Apigee", "content=\"Apigee")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Version:?\s+([0-9.]+)'
# digest: 4a0a00473045022100f938809fd9cabf22157751d7efddbdd6d249d9d1a1f6fe77437d108bb70ffe80022005e062a82b50d3a3bd0c58c8070870dc7ab9b33cb22b4ea469304926525e0284:922c64590222798bb761d5b6d8e72950