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