EvotecIT / Testimo

Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
MIT License
526 stars 58 forks source link

NetSessionEnumeration not run against target #102

Closed decopaper closed 4 years ago

decopaper commented 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"

PrzemyslawKlys commented 4 years ago

Tnx for reporting. Silly mistake. New release is out with a fix for this.