id: yunohost-admin-panel

info:
  name: YunoHost Admin Panel - Detect
  author: s4e-io
  severity: info
  description: |
    YunoHost Admin panel was discovered.
  reference:
    - https://yunohost.org/
    - https://github.com/YunoHost/yunohost
  metadata:
    verified: true
    max-request: 1
    fofa-query: title="YunoHost Admin"
  tags: panel,login,yunohost,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/yunohost/admin"

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - 'contains_any(body, "<title>YunoHost Admin", "href=\"/yunohost/admin/favicon")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a004830460221008048b417ff35e81deb8bd8610d5d0d49c14dbcd9075591b737520bc464f20629022100dac05b1c20d197e7919ba397574bfd1e98db36f75d81ce0a4849b1dd767c7e5b:922c64590222798bb761d5b6d8e72950