From 650397142e633a9608b2fdb8763cc6522b332a9a Mon Sep 17 00:00:00 2001 From: idealphase Date: Tue, 15 Mar 2022 14:52:04 +0700 Subject: [PATCH 1/2] Updated jboss-detect.yaml Added jboss version extractors --- technologies/jboss-detect.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/technologies/jboss-detect.yaml b/technologies/jboss-detect.yaml index cbb93dd2b2..850d33082b 100644 --- a/technologies/jboss-detect.yaml +++ b/technologies/jboss-detect.yaml @@ -2,7 +2,7 @@ id: jboss-detect info: name: JBoss detected - author: daffainfo + author: daffainfo,idealphase severity: info tags: tech,jboss @@ -24,3 +24,10 @@ requests: - type: status status: - 200 + + extractors: + - type: regex + group: 1 + part: body + regex: + - '

Welcome to (.+)<\/h1>' From 6b546a9a118771bdf334876d912676afafe012e8 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Tue, 15 Mar 2022 16:46:06 +0530 Subject: [PATCH 2/2] Update jboss-detect.yaml --- technologies/jboss-detect.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/technologies/jboss-detect.yaml b/technologies/jboss-detect.yaml index 850d33082b..5cfb12fe1d 100644 --- a/technologies/jboss-detect.yaml +++ b/technologies/jboss-detect.yaml @@ -11,19 +11,16 @@ requests: path: - "{{BaseURL}}" - matchers-condition: and matchers: - type: word part: body words: - - "Welcome to JBoss AS" - - "Welcome to JBoss Application Server" - "JBoss EAP 7" - condition: or - - type: status - status: - - 200 + - type: regex + part: body + regex: + - '<title>Welcome to JBoss(.*)' extractors: - type: regex