Check 200

bug/bundler_fix
sinn3r 2013-08-16 11:34:32 -05:00
parent cd734acf3e
commit d4dbea5594
1 changed files with 4 additions and 10 deletions

View File

@ -73,17 +73,11 @@ class Metasploit3 < Msf::Exploit::Remote
}
})
if res and res.body =~ /#{sig}/
if res.code == 302
# Some undesirable network setup not very friendly for vuln checks.
# See RM8114.
return Exploit::CheckCode::Unknown
else
return Exploit::CheckCode::Vulnerable
end
else
return Exploit::CheckCode::Safe
if res and res.code == 200 and res.body =~ /#{sig}/
return Exploit::CheckCode::Vulnerable
end
return Exploit::CheckCode::Safe
end