Skip to content

Commit 76c2198

Browse files
committed
LAPS enum
1 parent 11bf416 commit 76c2198

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/post/windows/gather/enum_ad_users.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ def store_username(username, uac, lockout_time, realm, domain_ip)
190190
# Assemble the options hash for creating the Metasploit::Credential::Login object
191191
login_data = {
192192
core: credential_core,
193-
status: status
193+
status: status,
194+
access_level: 'Administrator',
194195
}
195196

196197
login_data[:last_attempted_at] = DateTime.now unless (status == Metasploit::Model::Login::Status::UNTRIED)

0 commit comments

Comments
 (0)