mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
35 lines
1.1 KiB
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,discovery
|
|
|
|
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: 4b0a004830460221009b536255c73e387f6add385ca5fecd9d1a770e1fff480fb442a66b55d5ab3ec6022100f60e3b7c434f137d0edaed771887cc45e7a3049b80db8639b390b4e1b8c14bf6:922c64590222798bb761d5b6d8e72950 |