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:
commit
632bcda345
@ -39,7 +39,7 @@ class Metasploit3 < Msf::Post
|
|||||||
OptString.new('LOCAL_ADMIN_NAME', [true, 'The username to store the password against', 'Administrator']),
|
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_DB', [true, 'Store file in loot.', false]),
|
||||||
OptBool.new('STORE_LOOT', [true, 'Store file in loot.', true]),
|
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)
|
], self.class)
|
||||||
|
|
||||||
deregister_options('FIELDS')
|
deregister_options('FIELDS')
|
||||||
|
Loading…
Reference in New Issue
Block a user