nuclei-templates/http/technologies/harbor-detect.yaml

41 lines
997 B
YAML

id: harbor-detect
info:
name: Harbor Detect
author: pikpikcu,daffainfo
severity: info
description: Harbor is an open source trusted cloud native registry project that stores, signs, and scans content.
reference:
- https://github.com/goharbor/harbor
metadata:
verified: true
max-request: 1
shodan-query: http.favicon.hash:657337228
tags: tech,harbor
http:
- method: GET
path:
- '{{BaseURL}}/api/v2.0/systeminfo'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"auth_mode"'
- '"harbor_version"'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- '(?m)"harbor_version":"([0-9.]+)",'
# digest: 4a0a00473045022061d4de8e1ef8fe877025982b2a12bf360b67aadd87a5259123cebbe3060b8192022100bccaa03de1e908023e51cb55a07fc7304d44d01c076b41c4c55fc0e4eb69c146:922c64590222798bb761d5b6d8e72950