You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing the powerview share_finder module, no results are returned unless the ComputerName parameter is populated. When I import the powerview.ps1 script and attempt to run the Find-DomainShare function manually, I get the following error:
Get-DomainSearcher : A parameter cannot be found that matches parameter name 'Properties'.
At C:\powerview.ps1:6323 char:44
+ $CompSearcher = Get-DomainSearcher @SearcherArguments
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-DomainSearcher], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Get-DomainSearcher
[Find-DomainShare] No hosts found to enumerate
At C:\powerview.ps1:18928 char:13
+ throw '[Find-DomainShare] No hosts found to enumerate'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpeartionStopped: ([Find-DomainSha...nd to enumerate:String) [], RuntimeException
+ FullyQualifiedErrorId : [Find-DomainShare] No hosts found to enumerate
My PowerShell-fu is nonexistent but looking at the powerview.ps1 code, the one thing that jumped out at me in the Get-DomainComputer function was that there are a couple of extra brackets on line 6259 where the $Properties param is defined:
I see that Find-DomainShare calls Get-DomainComputer, which calls Get-DomainSearcher so it makes sense that Get-DomainSearcher is failing due to a missing required parameter when it is getting called from Get-DomainComputer. So it would seem that any module that relies on this Get-DomainComputer function is going to fail.
To Reproduce
Steps to reproduce the behavior:
Execute the powerview share_finder module without any parameters.
Expected behavior
The module is supposed to find all computers in the current domain and use them as targets for discovering shares.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Empire Version
OS Information (Linux flavor, Python version)
Describe the bug
When executing the powerview share_finder module, no results are returned unless the ComputerName parameter is populated. When I import the powerview.ps1 script and attempt to run the Find-DomainShare function manually, I get the following error:
My PowerShell-fu is nonexistent but looking at the powerview.ps1 code, the one thing that jumped out at me in the Get-DomainComputer function was that there are a couple of extra brackets on line 6259 where the $Properties param is defined:
I see that Find-DomainShare calls Get-DomainComputer, which calls Get-DomainSearcher so it makes sense that Get-DomainSearcher is failing due to a missing required parameter when it is getting called from Get-DomainComputer. So it would seem that any module that relies on this Get-DomainComputer function is going to fail.
To Reproduce
Steps to reproduce the behavior:
Execute the powerview share_finder module without any parameters.
Expected behavior
The module is supposed to find all computers in the current domain and use them as targets for discovering shares.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: