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

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: 4b0a004830460221008323d60239b39283ebf28c991233b1051584f8e390d13e4ea1ae3deb098c1093022100b0506dec57f542c7f52a4e54a4fda9c60f8ca781583ee6162e4f974174daf1dc:922c64590222798bb761d5b6d8e72950