1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-09 04:26:11 +02:00

Land #5652, improve LAPS filter to reduce empty results

This commit is contained in:
Spencer McIntyre 2015-07-03 15:02:39 -04:00
commit 632bcda345
No known key found for this signature in database
GPG Key ID: C00D6B6AA5E15412

View File

@ -39,7 +39,7 @@ class Metasploit3 < Msf::Post
OptString.new('LOCAL_ADMIN_NAME', [true, 'The username to store the password against', 'Administrator']),
OptBool.new('STORE_DB', [true, 'Store file in loot.', false]),
OptBool.new('STORE_LOOT', [true, 'Store file in loot.', true]),
OptString.new('FILTER', [true, 'Search filter.', '(objectCategory=Computer)'])
OptString.new('FILTER', [true, 'Search filter.', '(&(objectCategory=Computer)(ms-MCS-AdmPwd=*))'])
], self.class)
deregister_options('FIELDS')