2021-02-19 05:54:30 +00:00
|
|
|
id: harbor-detect
|
2021-09-09 13:38:13 +00:00
|
|
|
|
2021-02-19 05:54:30 +00:00
|
|
|
info:
|
|
|
|
name: Harbor Detect
|
2022-10-07 10:17:31 +00:00
|
|
|
author: pikpikcu,daffainfo
|
2021-02-19 05:54:30 +00:00
|
|
|
severity: info
|
2022-10-07 10:17:31 +00:00
|
|
|
description: Harbor is an open source trusted cloud native registry project that stores, signs, and scans content.
|
|
|
|
reference:
|
|
|
|
- https://github.com/goharbor/harbor
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-10-07 10:17:31 +00:00
|
|
|
verified: true
|
|
|
|
shodan-query: http.favicon.hash:657337228
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: tech,harbor
|
2021-02-19 05:54:30 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-19 05:54:30 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-10-07 10:17:31 +00:00
|
|
|
- '{{BaseURL}}/api/v2.0/systeminfo'
|
2021-02-19 05:54:30 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
2022-10-07 10:17:31 +00:00
|
|
|
words:
|
|
|
|
- '"auth_mode"'
|
|
|
|
- '"harbor_version"'
|
|
|
|
condition: and
|
2021-02-19 05:54:30 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-10-07 10:17:31 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '(?m)"harbor_version":"([0-9.]+)",'
|