nuclei-templates/network/enumeration/smtp-commands-enum.yaml

39 lines
754 B
YAML
Raw Normal View History

2023-05-05 13:26:49 +00:00
id: smtp-commands-enum
info:
name: SMTP Commands Enumeration
author: pussycat0x
severity: info
description: |
Attempts to use EHLO and HELP to gather the Extended commands supported by an SMTP server.
reference:
- https://nmap.org/nsedoc/scripts/smtp-commands.html
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
2023-05-05 13:26:49 +00:00
shodan-query: 'smtp'
tags: network,enum,smtp,mail
tcp:
- inputs:
- data: "EHLO x\r\n"
read: 1024
- data: "HELP\r\n"
read: 1024
host:
- "{{Hostname}}"
- "{{Host}}:25"
matchers:
- type: word
words:
- "214"
- "This server supports"
condition: and
extractors:
- type: regex
regex:
2023-05-05 13:28:03 +00:00
- '214 (.*)'