nuclei-templates/technologies/apache/default-apache-test-all.yaml

30 lines
774 B
YAML
Raw Normal View History

id: default-apache-test-all
2021-11-01 17:52:57 +00:00
info:
name: Apache HTTP Server Test Page
author: andydoering
severity: info
description: Detects default installations of apache (not just apache2 or installations on CentOS)
2021-11-01 17:52:57 +00:00
metadata:
shodan-query: http.title:"Apache+Default","Apache+HTTP+Server+Test","Apache2+It+works"
tags: tech,apache
2021-11-01 17:52:57 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}'
2021-11-01 17:52:57 +00:00
matchers:
- type: regex # type of the extractor
part: body # part of the response (header,body,all)
2021-11-01 17:52:57 +00:00
condition: or
regex:
- "<title>.*?Apache(|\\d+) .*?(Default|Test).*?</title>"
2021-11-01 17:36:30 +00:00
- "<title>(Default|Test).*? Apache(|\\d+).*?</title>"
2021-11-01 17:52:57 +00:00
extractors:
- type: kval
part: header
kval:
- server