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, 'License' => MSF_LICENSE,
'Author' => ['Thomas Ring'], 'Author' => ['Thomas Ring'],
'Platform' => ['win'], 'Platform' => ['win'],
'SessionTypes' => [ 'meterpreter' ], 'SessionTypes' => ['meterpreter']
)) ))
register_options([ 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) ], self.class)
end end
def run def run
fields = datastore['FIELDS'].gsub(/\s+/,"").split(',') fields = datastore['FIELDS'].gsub(/\s+/,'').split(',')
begin begin
q = query(SEARCH_FILTER, datastore['MAX_SEARCH'], fields) q = query(SEARCH_FILTER, datastore['MAX_SEARCH'], fields)