unstable
Meatballs1 2012-07-22 12:33:55 +01:00
parent 8f77ba1147
commit de45263fd9
1 changed files with 269 additions and 268 deletions

View File

@ -5,7 +5,6 @@
# http://metasploit.com/
##
require 'msf/core'
class Metasploit3 < Msf::Auxiliary
@ -39,6 +38,7 @@ class Metasploit3 < Msf::Auxiliary
'References' =>
[
[ 'CVE', '1999-0506'], # Weak password
],
'License' => MSF_LICENSE
)
@ -130,6 +130,7 @@ class Metasploit3 < Msf::Auxiliary
check_login_status(datastore['SMBDomain'], user, pass)
unless(simple.client.auth_user)
guest = true
@accepts_guest_logins['rhost'] ||=[] unless @accepts_guest_logins.include?(rhost) #'rhost' should be rhost?
report_note(
@ -189,6 +190,7 @@ class Metasploit3 < Msf::Auxiliary
case status
when 'STATUS_SUCCESS'
if(simple.client.auth_user)
print_good(output_message % "SUCCESSFUL LOGIN")
vprint_status("Auth-User: #{simple.client.auth_user}")
@ -210,7 +212,6 @@ class Metasploit3 < Msf::Auxiliary
end
end
def validuser_case_sensitive?(domain, user, pass)
if user == user.downcase
user = user.upcase