In this recipe, we will do a version scan for all open FTP servers in a network, using Metasploit.
FTP scanning
Getting ready
The FTP Version Scanner auxiliary module allows us to detect the FTP version running.
How to do it...
- To scan for FTP servers on the network, use the auxiliary/scanner/ftp/ftp_version auxiliary module, set the target address range in RHOSTS, and the number of concurrent threads to 256:
msf > use auxiliary/scanner/ftp/ftp_version
msf auxiliary(ftp_version) > set RHOSTS 192.168.216.10,129
RHOSTS => 192.168.216.10,129
msf auxiliary(ftp_version...