Merge pull request #8358 from projectdiscovery/viminfo-disclosure
Create viminfo-disclosure.yamlpatch-1
commit
3d59e1bd4f
|
@ -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
|
Loading…
Reference in New Issue