23 lines
566 B
YAML
23 lines
566 B
YAML
id: apache-config
|
|
|
|
info:
|
|
name: Apache Configuration File - Detect
|
|
author: sheikhrishad
|
|
severity: low
|
|
description: Apache configuration file was detected.
|
|
tags: config,exposure,apache
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/apache.conf"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- "contains(body, '<Directory') && contains(body, '</Directory>') && status_code == 200"
|
|
- "contains(body, '<VirtualHost') && contains(body, '</VirtualHost>') && status_code == 200"
|
|
condition: or
|
|
|
|
# Enhanced by md on 2023/02/08
|