Grab comments and descriptions ftw

bug/bundler_fix
Meatballs 2014-01-21 20:59:31 +00:00
parent e75d87327f
commit eee716a6b3
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@ class Metasploit3 < Msf::Post
def initialize(info={})
super( update_info( info,
'Name' => 'Windows Gather Active Directory User Descriptions',
'Name' => 'Windows Gather Active Directory User Comments',
'Description' => %Q{
This module will enumerate user accounts in the default AD directory. Which
contain 'pass' in their description (case-insensitive) by default.
contain 'pass' in their description or comment (case-insensitive) by default.
},
'License' => MSF_LICENSE,
'Author' => [ 'Ben Campbell <eat_meatballs[at]hotmail.co.uk>' ],
@ -31,8 +31,8 @@ class Metasploit3 < Msf::Post
register_options([
OptInt.new('MAX_SEARCH', [true, 'Maximum values to retrieve, 0 for all.', 50]),
OptBool.new('STORE_LOOT', [true, 'Store file in loot.', false]),
OptString.new('FIELDS', [true, 'Fields to retrieve.', 'sAMAccountName,userAccountControl,description']),
OptString.new('FILTER', [true, 'Search filter.', '(&(&(&(&(objectCategory=person)(objectClass=user)(description=*pass*)))))']),
OptString.new('FIELDS', [true, 'Fields to retrieve.','sAMAccountName,userAccountControl,comment,description']),
OptString.new('FILTER', [true, 'Search filter.','(&(&(objectCategory=person)(objectClass=user))(|(description=*pass*)(comment=*pass*)))']),
], self.class)
end