nuclei-templates/http/technologies/apache/default-apache-test-all.yaml

33 lines
981 B
YAML
Raw Normal View History

id: default-apache-test-all
2021-11-01 17:52:57 +00:00
info:
name: Apache HTTP Server Test Page
author: andydoering
severity: info
description: Detects default installations of apache (not just apache2 or installations on CentOS)
2021-11-01 17:52:57 +00:00
metadata:
max-request: 1
2021-11-01 17:52:57 +00:00
shodan-query: http.title:"Apache+Default","Apache+HTTP+Server+Test","Apache2+It+works"
tags: tech,apache
2021-11-01 17:52:57 +00:00
http:
- method: GET
path:
- '{{BaseURL}}'
2021-11-01 17:52:57 +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
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:
- server
# digest: 4a0a0047304502200fad5c3674d892aada569aa8cd26f62f74081302d8ae6278e33cc73673a006b1022100b3a392e383707cfed00858361375d438b1ef75d801ce8637a3400e7eaf500f9a:922c64590222798bb761d5b6d8e72950