2021-03-12 08:10:33 +00:00
|
|
|
id: gitlab-public-repos
|
|
|
|
|
2021-03-12 04:45:35 +00:00
|
|
|
info:
|
|
|
|
name: GitLab public repositories
|
|
|
|
author: ldionmarcil
|
|
|
|
severity: info
|
2021-03-12 08:57:14 +00:00
|
|
|
tags: gitlab
|
2021-03-12 06:58:45 +00:00
|
|
|
reference: |
|
|
|
|
- https://twitter.com/ldionmarcil/status/1370052344562470922
|
|
|
|
- https://github.com/ldionmarcil/gitlab-unauth-parser
|
2021-03-12 04:45:35 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/api/v4/projects"
|
|
|
|
headers:
|
|
|
|
Cookie: _gitlab_session=
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "Set-Cookie: _gitlab_session="
|
|
|
|
|
2021-03-12 06:58:45 +00:00
|
|
|
- type: word
|
2021-03-12 04:45:35 +00:00
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "name_with_namespace"
|