I'm an idiot, fix logon xpath
parent
e78cbdd14d
commit
7b2c1afadb
|
@ -193,7 +193,7 @@ class Metasploit3 < Msf::Exploit::Local
|
|||
when 'logon'
|
||||
# Trigger based on winlogon event, checks windows license key after logon
|
||||
print_status("This trigger triggers on event 4101 which validates the Windows license")
|
||||
line = "(EventID=4101) and *[System[Provider[@Name='Microsoft-Windows-Winlogon']]]"
|
||||
line = "*[System[EventID='4101']] and *[System[Provider[@Name='Microsoft-Windows-Winlogon']]]"
|
||||
xml = create_trigger_event_tags("Application", line, xml)
|
||||
|
||||
when 'lock'
|
||||
|
@ -380,4 +380,4 @@ class Metasploit3 < Msf::Exploit::Local
|
|||
fail_with(Exploit::Failure::Unknown, error)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue