-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add splashlogo and output logo flag option #41
add splashlogo: splashlogos.ps1 add output option help: en/ja.ps1 add option and execute splashlogos.ps1: WELA.ps1
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
$logo = @" | ||
██╗ ██╗███████╗██╗ █████╗ | ||
██║ ██║██╔════╝██║ ██╔══██╗ | ||
██║ █╗ ██║█████╗ ██║ ███████║ | ||
██║███╗██║██╔══╝ ██║ ██╔══██║ | ||
╚███╔███╔╝███████╗███████╗██║ ██║ | ||
╚══╝╚══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ | ||
"@ | ||
function output-splash() { | ||
foreach ($line in $logo -split "`n") { | ||
foreach ($char in $line.tochararray()) { | ||
if ($([int]$char) -le 9580 -and $([int]$char) -ge 9552) { | ||
Write-host -ForegroundColor Red $char -NoNewline | ||
} | ||
else { | ||
write-host -ForegroundColor blue $char -NoNewline | ||
} | ||
} | ||
Write-Host "" | ||
} | ||
Write-host "New Era of Windows Event Log Analyzer!" | ||
write-host " by " -NoNewline | ||
write-host "Yamato Security" -ForegroundColor Yellow | ||
} | ||
output-splash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters