id: canon-ir-adv

info:
  name: Canon iR-ADV Panel - Detect
  author: ritikchaddha,matejsmycka
  severity: info
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"Canon iR-ADV"
  tags: canon,panel,login,detect,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - 'iR-ADV'
          - 'Authentication'
          - 'CANON'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: title
        regex:
          - '(iR-ADV C[0-9]+)'
        group: 1
# digest: 4a0a0047304502200951f943e19b44e33fdc77dbbdc791fc3402879dbfcf04e06d8e38be492734e9022100cb62e368c8618e8aa50457f3bd6a718ed104943304f8009d0fdc216459e0a72c:922c64590222798bb761d5b6d8e72950