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

35 lines
1.1 KiB
YAML

id: default-apache-test-all
info:
name: Apache HTTP Server Test Page
author: andydoering
severity: info
description: Detects default installations of apache (not just apache2 or installations on CentOS)
classification:
cpe: cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: http_server
shodan-query: http.title:"Apache+Default","Apache+HTTP+Server+Test","Apache2+It+works"
tags: tech,apache
http:
- method: GET
path:
- '{{BaseURL}}'
matchers:
- type: regex # type of the extractor
part: body # part of the response (header,body,all)
condition: or
regex:
- "<title>.*?Apache(|\\d+) .*?(Default|Test).*?</title>"
- "<title>(Default|Test).*? Apache(|\\d+).*?</title>"
extractors:
- type: kval
part: header
kval:
- server
# digest: 490a00463044022067c6f72fe6fe59a41e46398dcd6ad696bb12cfb93b63d1b4d276ef85dcf2535b0220794eb1239b881b054223464ce34b2d11b751c85cb995034353cc650ed5cd96be:922c64590222798bb761d5b6d8e72950