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

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