Create smtp-user-enum.yaml

patch-1
pussycat0x 2023-05-10 01:22:05 +05:30 committed by GitHub
parent b592d51e26
commit 18323967e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: smtp-user-enum
info:
name: SMTP User Enumeration
author: pussycat0x
severity: medium
description: |
enumerate the users on a SMTP server by issuing the VRFY/EXPN commands
reference:
- https://nmap.org/nsedoc/scripts/smtp-enum-users.html
metadata:
max-request: 1
verified: "true"
shodan-query: 'smtp'
tags: network,enum,smtp,mail
tcp:
- inputs:
- data: "VRFY {{useraccounts}}\n"
read: 1024
- data: "EXPN {{useraccounts}}\n"
read: 1024
host:
- "{{Hostname}}"
- "{{Host}}:25"
attack: batteringram
payloads:
useraccounts:
- msfadmin
- admin
- root
matchers:
- type: word
words:
- "252"
- "250"
condition: or