Module Msf::Exploit::Remote::Smtp
In: lib/msf/core/exploit/smtp.rb

This module exposes methods that may be useful to exploits that deal with servers that speak the SMTP protocol.

Methods

Included Modules

Exploit::Remote::Tcp

Attributes

banner  [RW]  This attribute holds the banner that was read in after a successful call to connect or connect_login.

Public Class methods

Creates an instance of an SMTP exploit module.

Public Instance methods

This method establishes a SMTP connection to host and port specified by the RHOST and RPORT options, respectively. After connecting, the banner message is read in and stored in the ‘banner’ attribute.

Connect to the remote SMTP server, and begin a DATA transfer

This method transmits an IMAP command and waits for a response. If one is received, it is returned to the caller.

[Validate]