id: truenas-panel

info:
  name: TrueNAS Panel - Detect
  author: rxerium
  severity: info
  description: |
    TrueNAS scale is a free and open-source NAS solution
  reference:
    - https://www.truenas.com
  classification:
    cpe: cpe:2.3:h:ixsystems:truenas:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ixsystems
    product: truenas
    shodan-query:
      - html:"TrueNAS"
      - http.html:"truenas"
    fofa-query: body="truenas"
  tags: login,panel,truenas,ixsystems

http:
  - method: GET
    path:
      - "{{BaseURL}}/ui/sessions/signin"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "'TrueNAS'"
          - "assets/images/TrueNAS"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022013dc1ef8ddab8f3438c12850d123656754d242d7254c4bb6edf534ab443238190220052718773e29a39f3dfda298f4f2c4a350a2e52913289ecbdf3d85551c6b3f72:922c64590222798bb761d5b6d8e72950