id: redmine-cli-detect

info:
  name: Detect Redmine CLI Configuration File
  author: geeknik
  severity: info
  description: A small command-line utility to interact with Redmine - https://pypi.org/project/Redmine-CLI/
  metadata:
    max-request: 1
  tags: tech,redmine

http:
  - method: GET
    path:
      - "{{BaseURL}}/.redmine-cli"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "default"
          - "my_id"
          - "root_url"
        condition: and

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100c8790db698b0355956dfa5cb6addd84baa1e7e4295993a829c7eb9b52a67efea02210098c96db81c7a0d173c5a87b12a860a2162402ff66508f8485bb0b4a6e1f9fee1:922c64590222798bb761d5b6d8e72950
