Check 200
parent
cd734acf3e
commit
d4dbea5594
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue