id: namedprocess-exporter-metrics

info:
  name: Named Process Exporter
  author: DhiyaneshDk
  severity: low
  description: Named process exporter is exposed.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Named Process Exporter"
  tags: namedprocess,exposure,debug,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "namedprocess"
          - "# HELP"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502203986d079f399e98fe9d440fc56ae132f3a8a7ce71a2ae197b17f63d2c4cd0e4c022100a74bcfe05b0be72fdc559838e42037eef957c540e8fa6cdaaa4ecf8fc19ade6e:922c64590222798bb761d5b6d8e72950