Skip to content

Commit 52b1e0e

Browse files
authored
Update README with PowerShell script example
1 parent 3413f0d commit 52b1e0e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,14 +592,21 @@ You can verify via ADWS in case of output: "[FAIL] VULNERABLE: low-priv add succ
592592

593593
`
594594
$zoneDn = 'DC=xxx.net,CN=MicrosoftDNS,CN=System,DC=aimfire,DC=net'
595+
595596
$label = '_aclvtest-XXX' <= Change this
597+
596598
$server = 'dc.xxx.net'
599+
597600
Get-ADObject -Server $server -LDAPFilter "(dc=$label)" -SearchBase $zoneDn -SearchScope Subtree -Properties dc,dnsRecord,whenCreated,whenChanged,distinguishedName | Format-List distinguishedName,dc,whenCreated,whenChanged
598601

599602

600603
distinguishedName : DC=_aclvtest-XXX,DC=xxx.net,CN=MicrosoftDNS,CN=System,DC=aimfire,DC=net
604+
601605
dc : _aclvtest-XXX
606+
602607
whenCreated : 1/19/2026 12:56:35 PM
608+
603609
whenChanged : 1/19/2026 12:56:35 PM
610+
604611
`
605612

0 commit comments

Comments
 (0)