id: exposed-glances-api

info:
  name: Exposed Glances API
  author: princechaddha
  severity: low
  description: Glances is a cross-platform system monitoring tool written in Python.
  reference:
    - https://nicolargo.github.io/glances/
  metadata:
    max-request: 1
  tags: glances,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - 'title">Glances</title>'
          - 'glances.config'
          - '<glances></glances>'
        part: body
        condition: and
# digest: 490a00463044022076e161c3ca5137aaf610508eb369ac58198db675504fb3fbdbbe1786ea6861cd0220547d34c4e8381d624a17eb1c3c50e7abb0dbb2d18aaa5d9e80913b6f4be2ddde:922c64590222798bb761d5b6d8e72950