From 8da48bbea8a7ac1b6718834a1614e8d404e51b43 Mon Sep 17 00:00:00 2001 From: Nicolas Mattiocco Date: Thu, 29 Jul 2021 15:17:15 +0200 Subject: [PATCH] Update git-config.yaml improvement suggestion to keep it simple and flexible --- exposures/configs/git-config.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/exposures/configs/git-config.yaml b/exposures/configs/git-config.yaml index 9f030f2ce7..919106075f 100644 --- a/exposures/configs/git-config.yaml +++ b/exposures/configs/git-config.yaml @@ -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 \ No newline at end of file + - 200