Make msftidy happy

bug/bundler_fix
sinn3r 2012-09-27 01:13:07 -05:00
parent 99ec988485
commit 75d40d4d82
1 changed files with 15 additions and 18 deletions

View File

@ -1,7 +1,3 @@
##
# $Id$
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
@ -22,9 +18,11 @@ class Metasploit3 < Msf::Auxiliary
super(
'Name' => 'Dell iDRAC default Login',
'Version' => '$Revision$',
'Description' => %q{This module attempts to login to a iDRAC webserver
instance using default username and password. Tested against
Dell Remote Access Controller 6 - Express version 1.50 and 1.85},
'Description' => %q{
This module attempts to login to a iDRAC webserver instance using
default username and password. Tested against Dell Remote Access
Controller 6 - Express version 1.50 and 1.85
},
'Author' =>
[
'Cristiano Maruti <cmaruti[at]gmail.com>'
@ -68,7 +66,7 @@ class Metasploit3 < Msf::Auxiliary
'user' => user,
'password' => pass
}
}, 20)
})
if(auth and auth.body.to_s.match(/<authResult>[0|5]<\/authResult>/) != nil )
print_good("#{target_url} - SUCCESSFUL login for user '#{user}' with password '#{pass}'")
@ -89,13 +87,12 @@ class Metasploit3 < Msf::Auxiliary
end
def run_host(ip)
print_status("Verifying that login page exists at #{ip}")
begin
res = send_request_raw({
'method' => 'GET',
'uri' => target_uri.path
}, 20)
})
if (res and res.code == 200 and res.body.to_s.match(/<authResult>1/) != nil)
print_status("Attempting authentication")