Create wgetrc-config.yaml

patch-1
Dhiyaneshwaran 2022-07-10 00:04:38 +01:00 committed by GitHub
parent b8341c046f
commit 415fc848b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: wgetrc-config
info:
name: Wgetrc Configuration File Exposure
author: DhiyaneshDK
severity: medium
metadata:
verified: true
shodan-query: html:".wgetrc"
tags: devops,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/wgetrc"
- "{{BaseURL}}/.wgetrc"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- '/etc/wgetrc'
- 'wget.info'
- type: word
part: header
words:
- 'application/octet-stream'
- type: status
status:
- 200