aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill <HarmJ0y@users.noreply.github.com>2017-04-26 14:08:01 -0700
committerGitHub <noreply@github.com>2017-04-26 14:08:01 -0700
commit0bbc9db5abe3e6bc2fda7377c2e427d153b70f9c (patch)
tree7ba23384e3bfbfc4e519a4b0b29494a310712f77
parentcb14cf11abe0645cbc295a310a4e3af4a46bae72 (diff)
parentf2a9cb2ecc28495ae7e31e228e14185dc1d6614e (diff)
downloadPowerSploit-0bbc9db5abe3e6bc2fda7377c2e427d153b70f9c.tar.gz
PowerSploit-0bbc9db5abe3e6bc2fda7377c2e427d153b70f9c.zip
Merge pull request #227 from joncave/dfs_domain
The DFS subfunctions only accept a single $Domain
-rwxr-xr-xRecon/PowerView.ps18
1 files changed, 4 insertions, 4 deletions
diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1
index 95c136e..d87ac3f 100755
--- a/Recon/PowerView.ps1
+++ b/Recon/PowerView.ps1
@@ -9917,7 +9917,7 @@ function Get-DomainDFSShare {
.SYNOPSIS
Returns a list of all fault-tolerant distributed file systems
-for the current (or specified) domain.
+for the current (or specified) domains.
Author: Ben Campbell (@meatballs__)
License: BSD 3-Clause
@@ -9932,7 +9932,7 @@ The server data is parsed appropriately and returned.
.PARAMETER Domain
-Specifies the domain to use for the query, defaults to the current domain.
+Specifies the domains to use for the query, defaults to the current domain.
.PARAMETER SearchBase
@@ -10215,7 +10215,7 @@ A custom PSObject describing the distributed file systems.
function Get-DomainDFSShareV1 {
[CmdletBinding()]
Param(
- [String[]]
+ [String]
$Domain,
[String]
@@ -10294,7 +10294,7 @@ A custom PSObject describing the distributed file systems.
function Get-DomainDFSShareV2 {
[CmdletBinding()]
Param(
- [String[]]
+ [String]
$Domain,
[String]