only write passwords
This commit is contained in:
parent
1665d6b748
commit
12f647835e
@ -11,7 +11,6 @@ $pwPattern = [regex] "[A-z 0-9 \-]{1,251}\((?<PW>[A-z0-9]{1,251})\)\.zip";
|
||||
|
||||
$files = Get-ChildItem;
|
||||
$passwords = [Regex]::Matches($files, $pwPattern);
|
||||
$passwords.groups.Value | ForEach-Object {Write-Output $_ }
|
||||
Get-ChildItem | Where-Object { $_.name -match $pwPattern} | ForEach-Object {Write-Output $_.group }
|
||||
$passwords.groups | Where-Object {$_.Name -match "PW"} | ForEach-Object {Write-Output $_.Value }
|
||||
|
||||
Write-Output Done;
|
||||
Loading…
x
Reference in New Issue
Block a user