nuclei-templates/technologies/tomcat-detect.yaml

29 lines
656 B
YAML
Raw Normal View History

2020-09-22 21:26:52 +00:00
id: tomcat-version-detect
info:
name: Detect Tomcat Version
author: philippedelteil
description: If an Tomcat instance is deployed on the target URL, when we send a request for
a non existent resource we receive a Tomcat error page with version.
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/something_not_existing_"
matchers-condition: and
matchers:
2020-09-24 18:16:21 +00:00
2020-09-22 21:26:52 +00:00
- type: word
words:
- "Apache Tomcat"
2020-09-24 18:16:21 +00:00
2020-09-22 21:26:52 +00:00
- type: status
status:
- 404
2020-09-24 18:16:21 +00:00
2020-09-22 21:26:52 +00:00
extractors:
- type: regex
part: body
name: version
2020-09-24 01:34:05 +00:00
group: 2
2020-09-24 18:16:21 +00:00
regex:
- '(<h3>)(.*?)(</h3>)'