SMTP

  • Simple mail transfer protocol

  • port 25

  • Telnet - HELO/EHLO

    #install telnet : dism /online /Enable-Feature /FeatureName:TelnetClient

    telnet 10.129.14.128 25
  • VRFY

    • can be used once connected by telnet, to confirm the existence of the user

    • vrfy root

  • nmap

    • sudo nmap 10.129.14.128 -sC -sV -p25
  • Nmap - Open Relay

    • nmap 10.129.14.128 -p25 --script smtp-open-relay -v

nc

nc -nv 192.168.50.8 25

test connection

Test-NetConnection -Port 25 192.168.50.8

username verification

save above code to smtp.py then run

Last updated