42 lines
743 B
YAML
42 lines
743 B
YAML
id: msmtp-config
|
|
|
|
info:
|
|
name: Msmtp - Config Exposure
|
|
author: geeknik
|
|
severity: high
|
|
description: Msmtp configuration was discovered.
|
|
reference:
|
|
- https://wiki.archlinux.org/title/Msmtp
|
|
metadata:
|
|
verified: true
|
|
tags: exposure,generic,msmtp
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.msmtprc"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'account'
|
|
- 'host'
|
|
- 'from'
|
|
- 'auth'
|
|
- 'tls'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'text/plain'
|
|
- 'octet-stream'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2022/07/15
|