Don't keep the weblogi return codes secret

unstable
Tod Beardsley 2012-05-21 11:27:24 -05:00
parent 1104dccde8
commit 675dfe4e14
1 changed files with 2 additions and 1 deletions

View File

@ -88,6 +88,7 @@ class Metasploit3 < Msf::Exploit::Remote
def check def check
fingerprint = fingerprint_mod_wl fingerprint = fingerprint_mod_wl
print_status "#{rhost}:#{rport} - #{fingerprint}"
case fingerprint case fingerprint
when /Version found/ when /Version found/
@ -176,7 +177,7 @@ class Metasploit3 < Msf::Exploit::Remote
if build_date <= Date.parse("Jul 28 2008") if build_date <= Date.parse("Jul 28 2008")
return "BEA WebLogic connector vulnerable" return "BEA WebLogic connector vulnerable"
else else
return "BEA WebLogic connector no vulnerable" return "BEA WebLogic connector not vulnerable"
end end
else else
return "BEA WebLogic connector undefined" return "BEA WebLogic connector undefined"