mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 09:13:22 +08:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
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
|
|
product: harbor
|
|
vendor: linuxfoundation
|
|
fofa-query: icon_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: 4a0a00473045022100b5f5b4037accde0962ceb39e0ec057d90aa4afec1b5e92197119709d36b9a4c2022066f3bb9120fcba1db0d32fdbefd7add24fcb0e939fef2138b8cfc66dd935f522:922c64590222798bb761d5b6d8e72950 |