make msftidy happy

unstable
m-1-k-3 2013-04-03 10:34:28 +02:00
parent 91b0e5f800
commit 2ceecabede
1 changed files with 2 additions and 3 deletions

View File

@ -140,7 +140,6 @@ class Metasploit3 < Msf::Exploit::Remote
'method' => 'GET', 'method' => 'GET',
'authorization' => basic_auth(user,pass) 'authorization' => basic_auth(user,pass)
}) })
puts res.code
if res.nil? or res.code == 404 if res.nil? or res.code == 404
fail_with(Exploit::Failure::NoAccess, "#{rhost}:#{rport} - No successful login possible with #{user}/#{pass}") fail_with(Exploit::Failure::NoAccess, "#{rhost}:#{rport} - No successful login possible with #{user}/#{pass}")
end end