id: jellyfin-detect

info:
  name: Jellyfin detected
  author: dwisiswant0
  severity: info
  classification:
    cpe: cpe:2.3:a:jellyfin:jellyfin:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 5
    vendor: jellyfin
    product: jellyfin
    shodan-query: http.html:"Jellyfin"
  tags: tech,jellyfin

http:
  - method: GET
    path:
      - "{{BaseURL}}/home.html"
      - "{{BaseURL}}/web/home.html"
      - "{{BaseURL}}/index.html"
      - "{{BaseURL}}/web/index.html"
      - "{{BaseURL}}/web/manifest.json"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "name=\"application-name\" content=\"Jellyfin\""
          - "class=\"page homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs\""
          - "The Free Software Media System"
        condition: or
        part: body

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