Module Msf::Exploit::Remote::Imap
In: lib/msf/core/exploit/imap.rb

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

Methods

connect   connect_login   new   pass   raw_send_recv   user  

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 IMAP exploit module.

Public Instance methods

This method establishes a IMAP 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 and login to the remote IMAP server using the credentials that have been supplied in the exploit options.

Returns the user string from the ‘IMAPPASS’ option.

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

Returns the user string from the ‘IMAPUSER’ option.

[Validate]