Skip to content

Commit

Permalink
fix cmdlet is not verb
Browse files Browse the repository at this point in the history
  • Loading branch information
hitenkoku committed Sep 24, 2021
1 parent 9a8a806 commit 0e49590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WELA.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function Logon-Number-To-String($msgLogonType) {
return $msgLogonTypeReadable
}

function Is-Logon-Dangerous ( $msgLogonType ) {
function Check-Logon-Dangerous ( $msgLogonType ) {
switch ( $msgLogonType ) {
"0" { $msgIsLogonDangerous = "" }
"2" { $msgIsLogonDangerous = "(Dangerous! Credential information is stored in memory and maybe be stolen for account hijacking.)" }
Expand Down Expand Up @@ -1120,7 +1120,7 @@ function Create-Timeline {

$msgLogonTypeReadable = Logon-Number-To-String($msgLogonType) #Convert logon numbers to readable strings

$msgIsLogonDangerous = Is-Logon-Dangerous($msgLogonType) #Check to see if the logon was dangerous (saving credentials in memory)
$msgIsLogonDangerous = Check-Logon-Dangerous($msgLogonType) #Check to see if the logon was dangerous (saving credentials in memory)
}

$timestamp = $event.TimeCreated.ToString($DateFormat)
Expand Down

0 comments on commit 0e49590

Please sign in to comment.