Commit Graph

522 Commits

Author SHA1 Message Date
MaxXor 5e4905fec2 Prevent Keylogger writing when Client disconnects 2015-05-26 18:11:50 +02:00
MaxXor 1f55275c2b More settings and profile fixes
ref #197
2015-05-26 16:26:04 +02:00
MaxXor 7a1e6a82ab Fixed #197 2015-05-26 16:14:03 +02:00
MaxXor de11c7e7c4 Moved methods into ContextMenu region 2015-05-26 16:01:36 +02:00
MaxXor c9facfc295 Added #121 (Update from File)
closes #121
2015-05-26 15:55:52 +02:00
MaxXor 2e146620dd Fixed #118 2015-05-26 14:16:19 +02:00
MaxXor d1b5b3a865 Merge pull request #202 from d3agle/master
Keylogger special key fix
2015-05-26 08:48:57 +02:00
d3agle 989cd5c664 Keylogger special key fix 2015-05-26 00:38:29 -05:00
MaxXor e2d2b704fa Keylogger Special Char Fix #2 2015-05-25 17:06:23 +02:00
MaxXor 1f469151c4 Keylogger Special Char Fix
thanks deagle #194
2015-05-25 16:15:25 +02:00
MaxXor bee77942d6 Merge pull request #198 from d3agle/master
Fixed adding Keys to Log when Modifier Keys are pressed
2015-05-25 14:14:22 +02:00
d3agle 49c6a0a58a #194 fix
Bear in mind this does not fix the Alt Gr keypresses.  Pressing this key will still produce the same symbols/behaviors when the keylogger is not enabled.

What this fix does: we are receiving the character value for a KeyPress and we are handling it by ignoring it if any modifier keys are set.  In this case "Ctrl + Alt" which I will be trying to accomplish in a later fix (if I can figure out how to do this).

For example, a user with a german keyboard layout presses (Ctrl + alt + 2), which is the same as AltGr + 2, the call to our PressedKeys list will do the following

-check if key modifiers are set
-check if the list contains a key with a character value that is comparable to a key

If the key is  a normal character, for example user presses (Ctrl + Alt + k) on a german keyboard layout, the result would be true and the method would return, ignoring appending the character 'k' to the log

If the key is not a normal character that is comparable to the value of a Key, our call will fall through to the next call, and add the character that is returned.  For example, user presses (Ctrl + Alt + 2) to produce the special character, the Keys enum values won't contain a key with that symbol and our list won't either so it will fall through and print the special character
2015-05-25 06:55:28 -05:00
MaxXor 96f0d1c2ef Merge pull request #196 from d3agle/master
[Keylogger] Add time to Window Title #195
2015-05-25 13:49:15 +02:00
d3agle b932d96981 [Keylogger] Add time to Window Title #195 2015-05-25 06:14:16 -05:00
MaxXor eaf89ef97b Merge pull request #193 from MaxXor/dev
Re-wrote Keylogger #149
2015-05-25 12:01:00 +02:00
MaxXor 80aca909c9 Added extension methods to Keylogger 2015-05-25 11:55:41 +02:00
MaxXor cc5e36d2d3 Merge pull request #192 from d3agle/dev
IndexOutOfBoundsException fix
2015-05-25 11:43:25 +02:00
d3agle 0b72067435 IndexOutOfBoundsException fix 2015-05-25 03:44:18 -05:00
MaxXor 043cfac6b7 Merge pull request #191 from yankejustin/Improvements
Builder Code Improvements
2015-05-25 09:11:42 +02:00
MaxXor ed1548a36f Small cleanup 2015-05-24 23:17:21 +02:00
MaxXor 80b2f6677b Better detection for holding a key
ref #149 (this displays ^^ normally)

fixed with the power of LINQ ;)
2015-05-24 19:47:43 +02:00
MaxXor 6209b051dc Merge pull request #189 from d3agle/dev
dead-key fix
2015-05-24 19:22:32 +02:00
d3agle 4efef7c9c2 Removed unnecessary return 2015-05-24 11:45:25 -05:00
d3agle 63a3a61d74 moved instantiation of stringbuilder into null check 2015-05-24 10:40:12 -05:00
d3agle 3a8405a1e7 Dead-key fix #2
Fixed dead-key issue (pressing dead key followed by shift + key)  This
is now working flawlessly

Code refactors
2015-05-24 10:29:26 -05:00
d3agle 8344140d8a dead-key fix
Fixed case of pressing dead-key to accent characters followed by Shift +
character to present an uppercase character
2015-05-24 07:12:51 -05:00
MaxXor 8fbda58d21 Merge pull request #188 from MaxXor/pr/186
Keylogger fixes
2015-05-24 10:57:49 +02:00
MaxXor fd7e2724f7 Merged fix from globalmousekeyhook/master
Fix #181
2015-05-24 10:56:47 +02:00
yankejustin 94e50641cb Detecting illegal characters efficiently
Instead of wasting lots of time creating a string from a char array,
creating a string from another char array, concatenating them both into
a new string, and casting the keychar to a string to see if the string
contains it, make the operation natural and very efficient by creating a
new char array that has both invalid characters and making sure the
illegal character array does not contain the element.
2015-05-24 00:38:58 -04:00
yankejustin f5d671d93a Removed some repetitive code 2015-05-24 00:27:29 -04:00
d3agle 48584290bf Possible dead-key fix 2015-05-23 19:43:58 -05:00
d3agle b27981ddf4 Keylogger fixes
-Fixed spaces showing up in weird orders.

-Fixed issue where pressing some modifier keys would append the KeyPress
events text prior to the Appended highlighted text from the KeyDown
event.  Example:  User presses Windows Key + R.  it would log "r[Win +
[R]"
2015-05-23 19:25:13 -05:00
MaxXor d0920c49c0 Merge pull request #184 from MaxXor/keylogger-fix
Improvements to Keylogger
2015-05-23 19:57:17 +02:00
MaxXor a3612448a6 Fixed small mistake 2015-05-23 19:53:57 +02:00
d3agle d38d4d5ef4 Some changes to keylogger
added escape key
added keypress list to detect multiple keypresses for characters
moved modifier key check to a method for readability
2015-05-23 12:00:36 -05:00
MaxXor 6c32e861f4 Changed Window Titles printing in Logger 2015-05-23 18:03:03 +02:00
MaxXor 8965a4e801 Improved Logger
Fixed unprintable chars in logfile
2015-05-23 17:54:24 +02:00
MaxXor a095495da0 Small DLLImport changes
#176
2015-05-23 16:00:29 +02:00
MaxXor 16001801dc Added Keylogger Helper 2015-05-23 15:57:38 +02:00
MaxXor 6e2716466b Small changes to improve the code 2015-05-23 14:24:31 +02:00
MaxXor 32c7cda0c5 Merge pull request #178 from d3agle/dev
Message loop fix
2015-05-23 14:22:16 +02:00
d3agle 0efb64adef Message loop fix
Fixed the message loop, called Application.Run in the thread and not the
object, using ApplicationContext object we can identify which thread to
tell the message loop to return
2015-05-23 07:09:55 -05:00
MaxXor 45070631a9 Better handling of special keys 2015-05-23 13:30:57 +02:00
MaxXor 80ffc582de Merge pull request #177 from MaxXor/master
Fixed bug in Builder
2015-05-23 12:55:13 +02:00
MaxXor 227cfed057 Fixed bug in Builder
Fixed prompt to save Profile not shown when changing the timeout.
2015-05-23 12:54:24 +02:00
MaxXor 83d9434f6c Merge pull request #176 from d3agle/dev
Format fixes
2015-05-23 12:51:12 +02:00
d3agle a9986b45e1 method declaration 2015-05-23 05:50:06 -05:00
d3agle 60c38de767 Added window titles to log & revert code format 2015-05-23 05:32:18 -05:00
d3agle c234eb94d4 Format fixes
fixed formatting in both code, and in display of html logs

added extra line-break after log header
2015-05-23 05:09:00 -05:00
MaxXor bd8ad24092 Merge pull request #175 from MaxXor/master
Reflected changes to unit test
2015-05-23 11:53:35 +02:00