Closed decopaper closed 4 years ago
The "Get-PSRegistry" command in NetSessionEnumeration.ps1 (line 6) does not specify "ComputerName", so the test is run against the local computer and not the target domain controller:
$Registry = Get-PSRegistry -RegistryPath "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\DefaultSecurity"
Tnx for reporting. Silly mistake. New release is out with a fix for this.
The "Get-PSRegistry" command in NetSessionEnumeration.ps1 (line 6) does not specify "ComputerName", so the test is run against the local computer and not the target domain controller:
$Registry = Get-PSRegistry -RegistryPath "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\DefaultSecurity"