Merge pull request #6206 from projectdiscovery/putty-private-key

Update putty-private-key-disclosure.yaml
patch-1
Ritik Chaddha 2022-12-08 15:02:48 +05:30 committed by GitHub
commit b13ddeb3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 2 deletions

View File

@ -2,24 +2,35 @@ id: putty-private-key-disclosure
info:
name: Putty Private Key Disclosure
author: dhiyaneshDk
author: DhiyaneshDk,geeknik
severity: medium
reference:
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/putty-private-key-disclosure.json
metadata:
verified: true
github-query: filename:putty.ppk
tags: exposure,files
requests:
- method: GET
path:
- "{{BaseURL}}/my.ppk"
- "{{BaseURL}}/putty.ppk"
- "{{BaseURL}}/{{Hostname}}.ppk"
- "{{BaseURL}}/.ssh/putty.ppk"
- "{{BaseURL}}/.ssh/{{Hostname}}.ppk"
- "{{BaseURL}}/.putty/my.ppk"
- "{{BaseURL}}/.putty/putty.ppk"
- "{{BaseURL}}/.putty/{{Hostname}}.ppk"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "PuTTY-User-Key-File"
- "Encryption:"
part: body
condition: and
- type: status