mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[PR #190] [CLOSED] Keylogger fixes #1036
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#1036
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?
📋 Pull Request Information
Original PR: https://github.com/quasar/Quasar/pull/190
Author: @ghost
Created: 5/24/2015
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (6)
42e67b7in the Logger.cs file what this fixes:cf02b09Revert "in the Logger.cs file what this fixes:"6c0e063Modifier keys + key press fixe55818cRevert "Revert "in the Logger.cs file what this fixes:""d51f1b4ToUnicodeEx buffer fix9d43efcToUnicodeEx Buffer fix #2📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
Client/Core/Keylogger/Logger.cs(+1 -1)📝
Client/Core/Keylogger/WinApi/KeyboardNativeMethods.cs(+4 -2)📄 Description
(Please ignore the reverts, I've just installed Visual studio 2013 on my host and noticed it has a github feature pretty neat!)
in the Logger.cs file what this fixes:
-if any modifier keys are down and a character is pressed on the
keyboard, it will look for a Key from the key character, if it doesn't
find it, it will process the character normally. This is as best as I
could do for Alt Gr because Alt Gr translates to (LControlKey |
ControlKey). In order to get Alt Gr presses to work, normally you would
have to press (Ctrl + Alt + key) to write the characters such as the
ones here highlighted in blue:
http://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:KB_Germany.svg
This introduced a bug into the KeyboardNativeMethods class,
IndexOutOfBoundsException. The buffer from ToUnicodeEx was returning a
an index of zero. ?????? (this is a bug in the operating system). I tested this by pressing
(Ctrl + alt + all keys on my keyboard, specifically Ctrl + alt + [ and
Ctrl + alt + numpad return key that were causing the crashes)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.