nuclei-templates/exposures/configs/apache-config.yaml

19 lines
473 B
YAML
Raw Normal View History

2021-04-26 07:50:34 +00:00
id: apache-config
info:
name: Apache Config file disclosure
author: sheikhrishad
severity: low
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"
condition: or