match enumusers output more closely

git-svn-id: file:///home/svn/framework3/trunk@9069 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-04-14 04:39:51 +00:00
parent 914a90a714
commit 56d50d6794
1 changed files with 4 additions and 0 deletions

View File

@ -241,6 +241,8 @@ class Metasploit3 < Msf::Auxiliary
when 2
domain[:groups][rid] = uname
print_status("#{ip} GROUP=#{uname} RID=#{rid}")
else
print_status("#{ip} TYPE=#{utype} NAME=#{uname} rid=#{rid}")
end
end
@ -253,6 +255,8 @@ class Metasploit3 < Msf::Auxiliary
:data => domain
)
print_status("#{ip} #{domain.upcase} [ #{users.keys.map{|k| users[k]}.join(", ")} ]")
# cleanup
disconnect
return