Simplify returned message when ProFTPD is not vulnerable.

This commit is contained in:
djalal 2011-07-11 17:10:05 +00:00
parent 36b535eba2
commit c098d5e679

View file

@ -145,8 +145,7 @@ local function check_proftpd(ftp_opts)
proftpd_vuln = string.format(" ProFTPD (%s): VULNERABLE", cve)
elseif not proftpd_vuln then
return ftp_finish(socket, false,
string.format("%s: server %s seems NOT VULNERABLE.",
SCRIPT_NAME, ftp_opts.host.ip))
'server ProFTPD seems NOT VULNERABLE.')
end
table.insert(out, proftpd_str)