29 lines
608 B
YAML
29 lines
608 B
YAML
id: htaccess-config
|
|
|
|
info:
|
|
name: HTaccess config file
|
|
author: Yash Anand @yashanand155
|
|
severity: info
|
|
tags: misc,config
|
|
metadata:
|
|
max-request: 6
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.htaccess"
|
|
- "{{BaseURL}}/example.htaccess"
|
|
- "{{BaseURL}}/_.htaccess"
|
|
- "{{BaseURL}}/sample.htaccess"
|
|
- "{{BaseURL}}/a.htaccess"
|
|
- "{{BaseURL}}/htaccess_for_page_not_found_redirects.htaccess"
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- RewriteRule
|
|
- </IfModule>
|
|
- <IfModule
|
|
condition: and
|