id: htaccess-config
info:
name: HTaccess config file
author: Yash Anand @yashanand155
severity: info
tags: misc,config
requests:
- 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