36 lines
658 B
YAML
36 lines
658 B
YAML
|
id: wordpress-readme-file
|
||
|
|
||
|
info:
|
||
|
name: WordPress Readme file detection
|
||
|
author: tess
|
||
|
severity: info
|
||
|
description: |
|
||
|
WordPress readme.html file is accessible.
|
||
|
metadata:
|
||
|
verified: true
|
||
|
tags: wordpress,wp,info
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/wp/readme.html"
|
||
|
- "{{BaseURL}}/readme.html"
|
||
|
- "{{BaseURL}}/blog/wp/readme.html"
|
||
|
|
||
|
matchers-condition: and
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '<a href="license.txt">license.txt</a>'
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- 'text/html'
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|