| Module | Msf::Exploit::Remote::Ftp |
| In: |
lib/msf/core/exploit/ftp.rb
|
This module exposes methods that may be useful to exploits that deal with servers that speak the File Transfer Protocol (FTP).
| banner | [RW] | This attribute holds the banner that was read in after a successful call to connect or connect_login. |
This method establishes an FTP 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 FTP server using the credentials that have been supplied in the exploit options.
This method transmits a FTP command and waits for a response. If one is received, it is returned to the caller.