diff options
Diffstat (limited to 'Recon')
-rw-r--r-- | Recon/PowerView.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1 index e7f928f..d8f4248 100644 --- a/Recon/PowerView.ps1 +++ b/Recon/PowerView.ps1 @@ -12383,7 +12383,7 @@ function Get-NetDomainTrust { process { - if((-not $Domain) -and (-not $API) -and (-not $DomainController)) { + if((-not $Domain) -or ((-not $API) -and (-not $DomainController))) { $Domain = (Get-NetDomain -Credential $Credential).Name } |