We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c90a50 commit 02bbd53Copy full SHA for 02bbd53
modules/exploits/windows/ftp/wing_ftp_server_rce.rb
@@ -56,9 +56,9 @@ def check
56
})
57
58
if !res
59
- fail_with(Failure::Unreachable, "#{peer} - Vulnerable page was unreachable.")
+ fail_with(Failure::Unreachable, "#{peer} - Admin login page was unreachable.")
60
elsif res.code != 200
61
- fail_with(Failure::UnexpectedReply, "#{peer} - Unexpected HTTP Response Code.")
+ fail_with(Failure::NotFound, "#{peer} - Admin login page was not found.")
62
elsif res.body =~ /Wing FTP Server Administrator/ and res.body =~ /2003-2014 <b>wftpserver.com<\/b>/
63
return Exploit::CheckCode::Appears
64
end
0 commit comments