Update git-config.yaml

improvement suggestion to keep it simple and flexible
patch-1
Nicolas Mattiocco 2021-07-29 15:17:15 +02:00 committed by GitHub
parent 10b35b4051
commit 8da48bbea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 11 deletions

View File

@ -8,16 +8,9 @@ info:
tags: config,git,exposure
requests:
- raw:
- |
GET /.git/config HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Content-Type: application/x-www-form-urlencoded
Content-Length: 1
Connection: close
- method: GET
path:
- "{{BaseURL}}/.git/config"
matchers-condition: and
matchers:
@ -33,4 +26,4 @@ requests:
- type: status
status:
- 200
- 200