Merge pull request #8358 from projectdiscovery/viminfo-disclosure

Create viminfo-disclosure.yaml
patch-1
Ritik Chaddha 2023-10-10 17:07:35 +05:30 committed by GitHub
commit 3d59e1bd4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: viminfo-disclosure
info:
name: Viminfo - File Disclosure
author: DhiyaneshDK
severity: low
description: |
Viminfo file was detected.
reference:
- https://renenyffenegger.ch/notes/development/vim/editing/viminfo/index
metadata:
max-request: 1
verified: true
shodan-query: html:"Viminfo"
tags: devops,exposure,viminfo,config
http:
- method: GET
path:
- "{{BaseURL}}/.viminfo"
matchers-condition: or
matchers:
- type: word
part: body
words:
- 'Viminfo version'
- 'Command Line History'
condition: and
- type: word
part: header
words:
- 'application/octet-stream'
- type: status
status:
- 200