2021-04-26 07:50:34 +00:00
|
|
|
id: apache-config
|
|
|
|
|
|
|
|
info:
|
2023-02-08 18:12:01 +00:00
|
|
|
name: Apache Configuration File - Detect
|
2021-04-26 07:50:34 +00:00
|
|
|
author: sheikhrishad
|
|
|
|
severity: low
|
2023-02-08 18:12:01 +00:00
|
|
|
description: Apache configuration file was detected.
|
2021-04-26 07:50:34 +00:00
|
|
|
tags: config,exposure,apache
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/apache.conf"
|
2021-04-26 08:36:32 +00:00
|
|
|
|
2021-04-26 07:50:34 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- "contains(body, '<Directory') && contains(body, '</Directory>') && status_code == 200"
|
|
|
|
- "contains(body, '<VirtualHost') && contains(body, '</VirtualHost>') && status_code == 200"
|
2023-02-08 18:12:01 +00:00
|
|
|
condition: or
|
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/08
|