Nmap: smtp commands

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://nmap.org/nsedoc/scripts/smtp-commands.html


File smtp-commands

Script types: portrule
Categories: default, discovery, safe
Download: http://nmap.org/svn/scripts/smtp-commands.nse

User Summary

Attempts to use EHLO and HELP to gather the Extended commands supported by an SMTP server.


Example Usage

nmap --script smtp-commands.nse [--script-args smtp-commands.domain=<domain>] -pT:25,465,587 <host>
nmap --script smtp-commands.nse -pT:25,465,587 192.168.0.80
nmap --script smtp-commands.nse --script-args smtp-commands.domain=korban.com -pT:25,465,587 192.168.0.80

Script Output

PORT   STATE SERVICE REASON  VERSION
25/tcp open  smtp    syn-ack Microsoft ESMTP 6.0.3790.3959
| smtp-commands: SMTP.domain.com Hello [172.x.x.x], TURN, SIZE, ETRN, PIPELINING, DSN, ENHANCEDSTATUSCODES, 8bitmime, BINARYMIME, CHUNKING, VRFY, X-EXPS GSSAPI NTLM LOGIN, X-EXPS=LOGIN, AUTH GSSAPI NTLM LOGIN, AUTH=LOGIN, X-LINK2STATE, XEXCH50, OK
|_ This server supports the following commands: HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ETRN BDAT VRFY


Contoh lain

Starting Nmap 6.49BETA4 ( https://nmap.org ) at 2016-02-14 20:28 WIB
Nmap scan report for 192.168.0.80
Host is up (0.0039s latency).
PORT    STATE  SERVICE
25/tcp  open   smtp
|_smtp-commands: wiki, PIPELINING, SIZE 10240000, VRFY, ETRN, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN, 
465/tcp closed smtps
587/tcp closed submission
MAC Address: 36:66:33:66:32:39 (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 15.13 seconds


Contoh lain

Referensi