id: open-mjpg-streamer

info:
  name: open-mjpg-streamer
  author: gboddin
  severity: medium
  description: Open mjpg-streamer service sharing webcam/camera feed
  reference:
    - https://github.com/jacksonliam/mjpg-streamer
  metadata:
    max-request: 1
  tags: iot,webcam

http:
  - method: GET
    path:
      - "{{BaseURL}}/?action=stream"

    max-size: 2048

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'MJPG-Streamer/0.2'
        part: header

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