From 47b99dc20d9df165521996858b482afd17a8f8bd Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Thu, 16 Sep 2021 17:43:04 +0530 Subject: [PATCH] Update gitea-detect.yaml --- technologies/gitea-detect.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/technologies/gitea-detect.yaml b/technologies/gitea-detect.yaml index e17960b43a..965db9b3eb 100644 --- a/technologies/gitea-detect.yaml +++ b/technologies/gitea-detect.yaml @@ -12,6 +12,7 @@ requests: - "{{BaseURL}}" - "{{BaseURL}}/user/login" + stop-at-first-match: true matchers-condition: and matchers: @@ -23,3 +24,9 @@ requests: - type: status status: - 200 + + extractors: + - type: regex + part: body + regex: + - "Powered by Gitea Version: ([0-9.]+)"