30 lines
774 B
YAML
30 lines
774 B
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)
|
|
metadata:
|
|
shodan-query: http.title:"Apache+Default","Apache+HTTP+Server+Test","Apache2+It+works"
|
|
tags: tech,apache
|
|
|
|
requests:
|
|
- 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
|