mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-11-09 06:39:15 +01:00
feat: verbose security
This commit is contained in:
1 parent
2ce9a95dbf
commit
357b6e2205
1 file changed
+1
-1
@@ -268,7 +268,7 @@ System
|
||||
$msgLines = $msg -split "`n"
|
||||
foreach ($line in $msgLines) {
|
||||
if ($line -match '.*disabled.*\(') {
|
||||
Write-Host -$line -ForegroundColor Red
|
||||
Write-Host $line -ForegroundColor Red
|
||||
} elseif ($line -match '.*enabled.*\(') {
|
||||
Write-Host $line -ForegroundColor Green
|
||||
} elseif ($line -match '.*No rule.*') {
|
||||
|
||||
Reference in new issue
Block a user