39 lines
843 B
YAML
39 lines
843 B
YAML
id: esmtprc-config
|
|
|
|
info:
|
|
name: eSMTP - Config Discovery
|
|
author: geeknik
|
|
severity: high
|
|
description: eSMTP configuration was discovered.
|
|
reference:
|
|
- https://linux.die.net/man/5/esmtprc
|
|
metadata:
|
|
max-request: 1
|
|
tags: esmtp,config,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.esmtprc"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/plain"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "hostname"
|
|
- "username"
|
|
- "password"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a004730450220509b406f02f7c1bad027775dc407a9f8f4136ad2977d76ac97a29dba47401d8e022100dd609b3d16586ef181f69e9825daa528cbeb1b72dde297a7cd8c996569e2c6cb:922c64590222798bb761d5b6d8e72950
|