33 lines
981 B
YAML
33 lines
981 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:
|
|
max-request: 1
|
|
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: 4a0a0047304502200fad5c3674d892aada569aa8cd26f62f74081302d8ae6278e33cc73673a006b1022100b3a392e383707cfed00858361375d438b1ef75d801ce8637a3400e7eaf500f9a:922c64590222798bb761d5b6d8e72950
|