Added template for apache tomcat web application exposed documentation page (#3922)

patch-1
Podalirius 2022-03-17 10:47:34 +01:00 committed by GitHub
parent a70593076e
commit 457f054e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: tomcat-exposed-docs
info:
name: Tomcat exposed docs
author: Podalirius
severity: info
tags: version,tomcat,docs
requests:
- method: GET
path:
- '{{BaseURL}}/docs/'
matchers-condition: and
matchers:
- type: word
words:
- 'Apache Tomcat'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '<div class="versionInfo">[ \n\t]*(Version[ \n\t]*[^\n\t<]+)[ \n\t]*<time'