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:
|
2023-10-14 11:27:55 +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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200fad5c3674d892aada569aa8cd26f62f74081302d8ae6278e33cc73673a006b1022100b3a392e383707cfed00858361375d438b1ef75d801ce8637a3400e7eaf500f9a:922c64590222798bb761d5b6d8e72950
|