Merge pull request #1072 from ldionmarcil/master

Added gitlab-public-repos
patch-1
PD-Team 2021-03-12 12:31:53 +05:30 committed by GitHub
commit 8b088e8a30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: gitlab-snippets
info:
name: GitLab public repositories
author: ldionmarcil
severity: info
reference: |
- https://twitter.com/ldionmarcil/status/1370052344562470922
- https://github.com/ldionmarcil/gitlab-unauth-parser
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="
- type: word
part: body
words:
- "name_with_namespace"