id: avideo-detect

info:
  name: Avideo Detect
  author: pikpikcu
  severity: info
  classification:
    cpe: cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wwbn
    product: avideo
    shodan-query: http.title:"AVideo"
    fofa-query: "AVideo"
  tags: tech,avideo

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '<title>(.*)AVideo(.*)</title>'
          - 'AVideo Analytics'
        condition: or

      - type: word
        part: header
        words:
          - "/install/index.php"
        negative: true

      - type: status
        status:
          - 200
# digest: 4a0a004730450220175f637cd47bc2fe1951874d78f22175d807f60d8389410589802e3b34bca2c4022100824cdd23ed855d9155835b4b4dc297bc37bf7f1243cdba56c2fc830d13f90e4a:922c64590222798bb761d5b6d8e72950