Merge pull request #3906 from idealphase/master

Updated jboss-detect.yaml
patch-1
Prince Chaddha 2022-03-15 16:49:02 +05:30 committed by GitHub
commit e7cff18925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 8 deletions

View File

@ -2,7 +2,7 @@ id: jboss-detect
info:
name: JBoss detected
author: daffainfo
author: daffainfo,idealphase
severity: info
tags: tech,jboss
@ -11,16 +11,20 @@ requests:
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<title>Welcome to JBoss AS</title>"
- "<title>Welcome to JBoss Application Server"
- "JBoss EAP 7"
condition: or
- type: status
status:
- 200
- type: regex
part: body
regex:
- '<title>Welcome to JBoss(.*)</title>'
extractors:
- type: regex
group: 1
part: body
regex:
- '<h1>Welcome to (.+)<\/h1>'