Check 302 while checking too

bug/bundler_fix
jvazquez-r7 2013-09-05 13:36:35 -05:00
parent ab83a12354
commit d43326d0f4
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Metasploit3 < Msf::Exploit::Remote
def check
res = get_upload_form
if res and res.code == 200
if res and (res.code == 200 or res.code == 302)
if res.body =~ /You are not authorised to view this resource/
print_status("#{peer} - Joomla Media Manager Found but authentication required")
return Exploit::CheckCode::Detected