1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00

Force the ProFTPD banner check.

This commit is contained in:
djalal
2011-07-06 15:12:03 +00:00
parent 7059623d3a
commit a3c15ce071

View File

@@ -124,6 +124,8 @@ local function check_proftpd(ftp_opts)
ftp_server.banner, ftp_server.version = get_proftpd_banner(ret)
if not ftp_server.banner then
return ftp_finish(socket, false, "failed to get FTP banner.")
elseif not ftp_server.banner:match("ProFTPD") then
return ftp_finish(socket, false, "not a ProFTPD server.")
end
-- check if this version is vulnerable