2020-07-25 22:06:57 +00:00
|
|
|
id: htaccess-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: HTaccess config file
|
|
|
|
author: Yash Anand @yashanand155
|
2020-08-03 21:52:00 +00:00
|
|
|
severity: info
|
2021-04-01 18:35:08 +00:00
|
|
|
tags: misc
|
2020-07-25 22:06:57 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.htaccess"
|
2021-02-20 10:17:19 +00:00
|
|
|
- "{{BaseURL}}/example.htaccess"
|
|
|
|
- "{{BaseURL}}/_.htaccess"
|
|
|
|
- "{{BaseURL}}/sample.htaccess"
|
|
|
|
- "{{BaseURL}}/a.htaccess"
|
|
|
|
- "{{BaseURL}}/htaccess_for_page_not_found_redirects.htaccess"
|
2021-02-20 14:02:15 +00:00
|
|
|
|
2020-07-25 22:06:57 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- RewriteRule
|
|
|
|
- </IfModule>
|
|
|
|
- <IfModule
|
2021-02-20 10:17:19 +00:00
|
|
|
condition: and
|