Created
January 30, 2015 12:38
-
-
Save StaniTr/9e29e88b3482997668b3 to your computer and use it in GitHub Desktop.
No LOGON
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
--SELECT entries with LOGOFF w/o LOGON | |
SELECT Session_ID, TIMESTAMP | |
FROM puzzSessions | |
WHERE ActionName='LOGOFF' AND session_id NOT IN( | |
--select entries where no LOGOFF | |
SELECT Session_ID | |
FROM puzzSessions | |
WHERE ActionName='LOGON' | |
) | |
-- RESULT: 1 ID - 1 LOGOFF --logoff from 14 Dec 2014 --login ?? - hacker | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment