Add exposure detection for README.md files (#4220)

* Add exposure detection for README.md files

* misc updates

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
Wim Mostmans 2022-04-24 12:22:43 +02:00 committed by GitHub
parent 3279d6cf68
commit cc3459a405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: readme-md
info:
name: README.md file disclosure
author: ambassify
severity: info
description: Internal documentation file often used in projects which can contain sensitive information.
metadata:
shodan-query: html:"README.MD"
tags: exposure,markdown
requests:
- method: GET
path:
- "{{BaseURL}}/README.md"
matchers-condition: and
matchers:
- type: word
words:
- "#"
- "##"
condition: or
- type: word
part: header
words:
- "text/markdown"
- "text/plain"
condition: or
- type: status
status:
- 200