Fix failure messages for check().
parent
6c90a50e47
commit
02bbd53b82
|
@ -56,9 +56,9 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
})
|
||||
|
||||
if !res
|
||||
fail_with(Failure::Unreachable, "#{peer} - Vulnerable page was unreachable.")
|
||||
fail_with(Failure::Unreachable, "#{peer} - Admin login page was unreachable.")
|
||||
elsif res.code != 200
|
||||
fail_with(Failure::UnexpectedReply, "#{peer} - Unexpected HTTP Response Code.")
|
||||
fail_with(Failure::NotFound, "#{peer} - Admin login page was not found.")
|
||||
elsif res.body =~ /Wing FTP Server Administrator/ and res.body =~ /2003-2014 <b>wftpserver.com<\/b>/
|
||||
return Exploit::CheckCode::Appears
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue