id: nexus-detect

info:
  name: Nexus Repository Manager (NRM) Instance Detection Template
  author: righettod
  severity: info
  description: |
    Try to detect the presence of a NRM instance via the REST API OpenDocument descriptor.
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"Nexus Repository Manager"
  tags: tech,nexus

http:
  - method: GET
    path:
      - "{{BaseURL}}/service/rest/swagger.json"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Nexus Repository Manager"

      - type: status
        status:
          - 200

# digest: 490a00463044022075020f3559219198e725c4825133fd0b11ace23039e4af75f3e61d5617989a8a022029d07b425c608d2851b865ec5f08e13de5357ca1e2b03526ae890beb6747737a:922c64590222798bb761d5b6d8e72950
