2021-11-01 16:12:02 +00:00
|
|
|
id: default-apache-test-all
|
2021-11-01 17:52:57 +00:00
|
|
|
|
2021-11-01 16:12:02 +00:00
|
|
|
info:
|
|
|
|
name: Apache HTTP Server Test Page
|
|
|
|
author: andydoering
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
description: Detects default installations of apache (not just apache2 or installations on CentOS)
|
2021-11-01 17:52:57 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2021-11-01 17:52:57 +00:00
|
|
|
shodan-query: http.title:"Apache+Default","Apache+HTTP+Server+Test","Apache2+It+works"
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: tech,apache
|
2021-11-01 17:52:57 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-01 16:12:02 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}'
|
2021-11-01 17:52:57 +00:00
|
|
|
|
2021-11-01 16:12:02 +00:00
|
|
|
matchers:
|
2022-02-28 14:09:26 +00:00
|
|
|
- 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
|
2021-11-01 16:12:02 +00:00
|
|
|
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:
|
2022-02-28 14:09:26 +00:00
|
|
|
- server
|