Nmap-scripts-smtp

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Openrelay Check

  • nmap --script smtp-open-relay.nse ox.xinux.org -p 25
Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-26 14:33 CET
Nmap scan report for ox.xinux.org (194.59.156.243)
Host is up (0.036s latency).

PORT   STATE SERVICE
25/tcp open  smtp
|_smtp-open-relay: Server doesn't seem to be an open relay, all tests failed

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

Welche Kommandos werden vom Mailserver unterstützt

  • nmap --script smtp-commands ox.xinux.org -p 25

Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-26 14:35 CET
Nmap scan report for ox.xinux.org (194.59.156.243)
Host is up (0.029s latency).

PORT   STATE SERVICE
25/tcp open  smtp
|_smtp-commands: ox.xinux.org, PIPELINING, SIZE, VRFY, ETRN, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN, CHUNKING

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

User auf dem Mailsystem herausfinden

  • nmap --script smtp-enum-users ox.xinux.org -p 25
Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-26 14:38 CET
Nmap scan report for ox.xinux.org (194.59.156.243)
Host is up (0.024s latency).

PORT   STATE SERVICE
25/tcp open  smtp
| smtp-enum-users: 
|   root
|   administrator
|_  guest

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