id: cisco-expressway-panel

info:
  name: CISCO Expressway Login Panel - Detect
  author: righettod
  severity: info
  description: |
    CISCO Expressway login panel was detected.
  reference:
    - https://www.cisco.com/c/en/us/products/unified-communications/expressway-series/index.html
  metadata:
    max-request: 1
    shodan-query: html:"Cisco Expressway"
    verified: true
  tags: panel,cisco,login,detect

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "cisco expressway", "cisco expway")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Cisco\s+(?:Expressway|Expway)\s+([A-Za-z\s]+)<\/legend>'
# digest: 490a00463044022017cea3c30c4e5c14448f32affcc2a76041719a68ce7b1b73917ca5b7add1b4bd022002fbfafa35171c448235c328299b377ed67c036b2cf72fca115108cf1b88f207:922c64590222798bb761d5b6d8e72950