mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-19 15:33:08 +01:00
update
This commit is contained in:
@@ -6,7 +6,7 @@ $filteredOutput = $auditpolOutput | Select-String -NotMatch "No Auditing"
|
|||||||
$extractedStrings = [System.Collections.Generic.HashSet[string]]::new()
|
$extractedStrings = [System.Collections.Generic.HashSet[string]]::new()
|
||||||
$filteredOutput | ForEach-Object {
|
$filteredOutput | ForEach-Object {
|
||||||
if ($_ -match '{(.*?)}') {
|
if ($_ -match '{(.*?)}') {
|
||||||
$extractedStrings.Add($matches[1])
|
[void]$extractedStrings.Add($matches[1])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user