Merge pull request #7208 from projectdiscovery/pussycat0x-patch-14

SMTP User Enumeration
patch-1
Ritik Chaddha 2023-05-11 17:02:16 +05:30 committed by GitHub
commit 9a7ac7d2bd
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