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

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: 4a0a00473045022100e36595ace1708e2e95e81a689fad2c2317059c6d0289e8b759c119449020081d02205043e07812d6eef15051af3c84f70b80ddddb35be11a26cead5e252e8c14d842:922c64590222798bb761d5b6d8e72950