mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[GH-ISSUE #243] Keylogger miss some keys combination #111
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DragonzMaster on GitHub (May 30, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/243
If I Hold Control[Ctrl] Key and press 'a' for example it logged and while holding Ctrl i pressed another letter 'c' for example it is logged like :
[Control + A]
instead of :
[Control + A] [Control + C]
the problem occurs also when i press Ctrl key and for example Up arrow and will holding Ctrl I pressed Down arrow it is logged like :
[Control + Up] [Down]
Instead of :
[Control + Up] [Control + Down]
@ghost commented on GitHub (May 30, 2015):
This is because of how the keys are processed. The keys are logged on a KeyUp event, so when you press Ctrl + A and you are still holding control key down, it will clear the keys when you let up on 'A', so Control won't be recorded the next time you press 'C' (Unless you let up off of control).
One way to fix this would be to record the keystates of modifier keys with
GetKeyState/GetAsyncKeyStatefunctions, when the keys are being cleared from the pressedkeys lists, and inject them back into the list if they are still down. (We would have to inject the key to avoid multiple keypresses from being logged, and to also ensure that special keys that use [ctrl + alt] modifiers, aren't logged if they have a unique character that doesn't represent a key)@ghost commented on GitHub (May 30, 2015):
Now that I think about it I'm not sure this would be easy to do, as far as logging keys accurately, given the logic already implemented.
@yankejustin commented on GitHub (May 30, 2015):
@d3agle I've come to realize that keylogging is never easy! hahaha
There are a few solutions I can think of. Maybe we should restrict the clearing of modifiers even more.
@ghost commented on GitHub (May 31, 2015):
@yankejustin, Indeed. How can we restrict the modifiers even more? I've thought about some solutions but because we are handling the logging of keys in the KeyUp event, we might have to change the way we log the keys altogether.
@bitterypaul commented on GitHub (Jul 31, 2015):
Does the keylogger catch all the keystrokes and combinations
@yankejustin commented on GitHub (Jul 31, 2015):
@bitterypaul Not 100% sure if this is still an issue.
@d3agle Is this issue still relevant?
@ghost commented on GitHub (Jul 31, 2015):
@yankejustin, Yes it is, I took a look at the HotkeySet class and it looks like we might be able to control logging combinations of keys to accomplish this :D
@ghost commented on GitHub (Aug 3, 2015):
I mean, it's not really an "issue" per say, however it's something that could be looked into a bit more. I'm not really sure how we would do this to be honest, but I may take a look at it a little later today.
@yankejustin, How is your registry editor coming along? :D
@yankejustin commented on GitHub (Aug 3, 2015):
@d3agle Good. Currently about to implement the ability to add
RegistryKeysto theListView. After that works, I will transfer the logic over to the Client so it will finally retrieveRegistryKeysfrom the Client. :)Edit: Implementing the logic into the Client. Adding the correct packets, classes, and logic for RegistryKey traversal. Going to submit a PR later today containing my progress (mostly done but needs more GUI work for the server)... Perhaps @MaxXor can make a branch for the RegistryEditor so I can put the work there. :)
@MaxXor commented on GitHub (Aug 3, 2015):
@yankejustin I've created one, named
regedit. But please keep discussion about Registry Editor in it's own issue.