diff options
author | Chris Campbell <obscuresec@gmail.com> | 2014-02-21 15:19:55 -0500 |
---|---|---|
committer | Chris Campbell <obscuresec@gmail.com> | 2014-02-21 15:19:55 -0500 |
commit | 313d80373cdfcb769d56eb396bf5c016b2f1b859 (patch) | |
tree | d6ea7b9e44ab3e0fe4ceaf58383629d23426f181 /Exfiltration | |
parent | 261aaf6302ae590bc4632ee4c95042c2ed1a8a8c (diff) | |
download | PowerSploit-313d80373cdfcb769d56eb396bf5c016b2f1b859.tar.gz PowerSploit-313d80373cdfcb769d56eb396bf5c016b2f1b859.zip |
Update Get-GPPPassword.ps1
Diffstat (limited to 'Exfiltration')
-rw-r--r-- | Exfiltration/Get-GPPPassword.ps1 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Exfiltration/Get-GPPPassword.ps1 b/Exfiltration/Get-GPPPassword.ps1 index d204197..3c1b4da 100644 --- a/Exfiltration/Get-GPPPassword.ps1 +++ b/Exfiltration/Get-GPPPassword.ps1 @@ -9,7 +9,7 @@ function Get-GPPPassword { License: BSD 3-Clause Required Dependencies: None Optional Dependencies: None - Version: 2.3.1 + Version: 2.3.0 .DESCRIPTION @@ -124,10 +124,10 @@ function Get-GPPPassword { If (!($Count)) {$Count = 1} ForEach ($Number in 0..($Count - 1)){ If ($Count -eq 1) {$Replace = 'User'} else {$Replace = "User[$Number]"} - $Cpassword += , $Xml.Groups.User.$Replace.Properties.cpassword - $UserName += , $Xml.Groups.User.$Replace.Properties.userName - $NewName += , $Xml.Groups.User.$Replace.Properties.newName - $Changed += , $Xml.Groups.User.$Replace.changed + $Cpassword += , $Xml.Groups.$Replace.Properties.cpassword + $UserName += , $Xml.Groups.$Replace.Properties.userName + $NewName += , $Xml.Groups.$Replace.Properties.newName + $Changed += , $Xml.Groups.$Replace.changed } } |