Update git-config.yaml

patch-1
bauthard 2020-09-02 12:48:50 +05:30
parent cc18ebdab5
commit 037dd7b3e5
1 changed files with 14 additions and 5 deletions

View File

@ -2,14 +2,23 @@ id: git-config
info:
name: Git Config Disclosure
author: Ice3man
author: Ice3man & pikpikcu
severity: medium
description: Searches for the pattern /.git/config on passed URLs.
requests:
- method: GET
path:
- "{{BaseURL}}/.git/config"
- 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
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 1
Connection: close
matchers:
- type: word
words: