Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Extension methods#187

Closed
yankejustin wants to merge 66 commits intoquasar:masterfrom
yankejustin:Keylogger
Closed

Extension methods#187
yankejustin wants to merge 66 commits intoquasar:masterfrom
yankejustin:Keylogger

Conversation

@yankejustin
Copy link
Copy Markdown
Contributor

Changes

Added two more extension methods for the LoggerHelper.

yankejustin and others added 30 commits May 7, 2015 08:09
Merge with most recent branch
Big changes to the Keylogger. Still needs lots of changes but my intent
should be visible by these changes. This is now very flexible, easy to
change and add keys, etc.
Added documentation for the two properties of the Keylogger.
AttributeTarget can now correctly apply to Keylogger Keys.
Added the second and likely last of the big changes and additions to the
Keylogger. The core design of it is much more clear than the initial
changes commit. Though not yet functional (last of it has to be
implemented, as seen by the small commented-out portions), it is nearing
completion. With this new design, it is significantly more scalable.
With these changes also comes another huge factor: modifications. This
new system allows easy feature additions and modifications, such as
filtering out specific keys to log dynamically in a natural manner.
Made a small attribute to support the power and beauty of extension
methods in .NET 2.0! :)
Fixed null check for the stored key loop in the key buffer and renamed a
method so it is more clear.
Very nice work.  This looks very nice.
added special key attributes
Implemented the new way of adding a key to log when the timerLogKeys
elapses.
If the timerEmptyKeyBuffer elapsed at a bad time or state, or if it was
unable to 1) Append data to _logFileBuffer or 2) Was unable to
successfully remove the entry from _keyBuffer
Now we can see this thing in action!
Needs one more commit to handle the special keys again and to detect
when a toggle key is toggled. I can't remember how to represent 0x80 as
a byte! :(
Forgot to add changes to this file!
Many more changes.
Still has things to work out but there is much more to work with and
many more possibilities.
Merge with dev branch
Modified a few things... Saving current spot to for major content
additions.
Implemented gmamaladze's logic into the Keylogger. Still needs work on
the way it outputs. See additional notes in
#149
yankejustin and others added 26 commits May 22, 2015 23:47
By using a style class to denote text that should be highlighted, we can
change the color in one spot of we desired instead of having to change
it in many spots. Also, the file size is much smaller because of the
significantly-lower amount of text necessary to save.
Added a small amount of documentation for the Logger's constructor.
Reflected changes to unit test
fixed formatting in both code, and in display of html logs

added extra line-break after log header
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
Fixed unprintable chars in logfile
added escape key
added keypress list to detect multiple keypresses for characters
moved modifier key check to a method for readability
Merge with recent base
Added two extension methods for the LoggerHelper.
Also re-wrote the method that tells the calling List<Keys> if a modifier
key was set. Instead of calling contain multiple times two specify if it
contains one element each time (repetitive full traversal), iterate
through and each iterated element should be tested for each possible
modifier key so we must go through the list only once.
@yankejustin
Copy link
Copy Markdown
Contributor Author

Woah. Not sure what is up with these commits following...

@yankejustin
Copy link
Copy Markdown
Contributor Author

Oh, geez. I tried violating the master branch. I am going to commit this tomorrow night after some sleep to prevent butchering my branches. 👍 👎 👍

@yankejustin yankejustin deleted the Keylogger branch May 27, 2015 20:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants