Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/omen0x8/Syskey
Browse files Browse the repository at this point in the history
  • Loading branch information
blobbyblo committed Nov 20, 2021
2 parents 16238c1 + 92bc285 commit f82dbfd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Syskey

Syskey is a simple NtUserGetAsyncKeyState syscall wrapper.
This implementation was done in a way to avoid both imports and direct calling of GetAsyncKeyState for obscurity and security.

## Prodecure:

Dynamically finds and saves the syscall ID of NtUserGetAsyncKeyState
Calls the syscall ID using the VK code provided
Returns as expected

## Example usage:
```cpp
if (nt::GetKey(VK_F1) & 0x8000)
printf("F1 just got called!\n");
```

0 comments on commit f82dbfd

Please sign in to comment.