Merge pull request #4364 from geeknik/patch-51

Create msmtp-config.yaml
patch-1
Prince Chaddha 2022-05-12 02:13:08 +05:30 committed by GitHub
commit 94f67c13c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: msmtp-config
info:
name: Msmtp Config Exposure
author: geeknik
severity: high
description: msmtp is a very simple and easy to use SMTP client with fairly complete sendmail compatibility.
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