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

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: 490a0046304402200f11b526be8994a213f2d908d8573e5a294ed50977fc293ec68c812a9da905ff022043a1351c2166d308891a1f8e6b39616113103d3d56ee0f8cc3f308b0225054b5:922c64590222798bb761d5b6d8e72950