mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Force the ProFTPD banner check.
This commit is contained in:
parent
7059623d3a
commit
a3c15ce071
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue