mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +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)
|
ftp_server.banner, ftp_server.version = get_proftpd_banner(ret)
|
||||||
if not ftp_server.banner then
|
if not ftp_server.banner then
|
||||||
return ftp_finish(socket, false, "failed to get FTP banner.")
|
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
|
end
|
||||||
|
|
||||||
-- check if this version is vulnerable
|
-- check if this version is vulnerable
|
||||||
|
|||||||
Reference in New Issue
Block a user