Skip to content

Commit 2c4caee

Browse files
committed
Clean metadata
1 parent 443dd7b commit 2c4caee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/post/windows/gather/enum_ad_users_to_wordlist.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@ def initialize(info={})
4242
one (up to 24 characters). Results are dumped into /tmp
4343
},
4444
'License' => MSF_LICENSE,
45-
'Author' => [ 'Thomas Ring' ],
46-
'Platform' => [ 'win' ],
47-
'SessionTypes' => [ 'meterpreter' ],
45+
'Author' => ['Thomas Ring'],
46+
'Platform' => ['win'],
47+
'SessionTypes' => ['meterpreter']
4848
))
4949

5050
register_options([
51-
OptString.new('FIELDS', [true, 'Fields to retrieve (ie, sn, givenName, displayName, description, comment)', DEFAULT_FIELDS]),
51+
OptString.new('FIELDS', [true, 'Fields to retrieve (ie, sn, givenName, displayName, description, comment)', DEFAULT_FIELDS.join(',')]),
5252
], self.class)
5353
end
5454

5555
def run
56-
fields = datastore['FIELDS'].gsub(/\s+/,"").split(',')
56+
fields = datastore['FIELDS'].gsub(/\s+/,'').split(',')
5757

5858
begin
5959
q = query(SEARCH_FILTER, datastore['MAX_SEARCH'], fields)

0 commit comments

Comments
 (0)