This module uses an anonymous-bind LDAP connection to dump data from the vmdir service in VMware vCenter Server version 6.7 prior to the 6.7U3f update, only if upgraded from a previous release line, such as 6.0 or 6.5. If the bind username and password are provided (BIND_DN and BIND_PW options), these credentials will be used instead of attempting an anonymous bind.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/gather/vmware_vcenter_vmdir_ldap
msf auxiliary(vmware_vcenter_vmdir_ldap) > show actions
...actions...
msf auxiliary(vmware_vcenter_vmdir_ldap) > set ACTION < action-name >
msf auxiliary(vmware_vcenter_vmdir_ldap) > show options
...show and set options...
msf auxiliary(vmware_vcenter_vmdir_ldap) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security