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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user