Clean metadata

bug/bundler_fix
jvazquez-r7 2014-11-24 19:26:01 -06:00
parent 443dd7b6c0
commit 2c4caeed29
1 changed files with 5 additions and 5 deletions

View File

@ -44,16 +44,16 @@ class Metasploit3 < Msf::Post
'License' => MSF_LICENSE,
'Author' => ['Thomas Ring'],
'Platform' => ['win'],
'SessionTypes' => [ 'meterpreter' ],
'SessionTypes' => ['meterpreter']
))
register_options([
OptString.new('FIELDS', [true, 'Fields to retrieve (ie, sn, givenName, displayName, description, comment)', DEFAULT_FIELDS]),
OptString.new('FIELDS', [true, 'Fields to retrieve (ie, sn, givenName, displayName, description, comment)', DEFAULT_FIELDS.join(',')]),
], self.class)
end
def run
fields = datastore['FIELDS'].gsub(/\s+/,"").split(',')
fields = datastore['FIELDS'].gsub(/\s+/,'').split(',')
begin
q = query(SEARCH_FILTER, datastore['MAX_SEARCH'], fields)