diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 2a173e7d..27bb8139 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -5227,7 +5227,7 @@ credential-access: $DomainUsers | Foreach-Object { $user = $_ - $password = "#{password}" + $password = '#{password}' $credz = new-object System.Net.NetworkCredential($user, $password, "#{domain}") $conn = new-object System.DirectoryServices.Protocols.LdapConnection($di, $credz, [System.DirectoryServices.Protocols.AuthType]::#{auth}) diff --git a/atomics/T1110.003/T1110.003.md b/atomics/T1110.003/T1110.003.md index 14b48965..69507fd4 100644 --- a/atomics/T1110.003/T1110.003.md +++ b/atomics/T1110.003/T1110.003.md @@ -156,7 +156,7 @@ $di = new-object System.DirectoryServices.Protocols.LdapDirectoryIdentifier("#{d $DomainUsers | Foreach-Object { $user = $_ - $password = "#{password}" + $password = '#{password}' $credz = new-object System.Net.NetworkCredential($user, $password, "#{domain}") $conn = new-object System.DirectoryServices.Protocols.LdapConnection($di, $credz, [System.DirectoryServices.Protocols.AuthType]::#{auth})