GiacomoLaw / Keylogger

A simple keylogger for Windows, Linux and Mac
https://simple-keylogger.github.io/
MIT License
2.06k stars 617 forks source link

Little modifications to the Window version in order to build on VC++ 2019... what about merging? #94

Closed MaurizioMalaspina closed 4 years ago

MaurizioMalaspina commented 4 years ago

Hi Giacomo,

I've done some little modifications to the Window version in order to build on following recent rev of Visual C++ (tested both as x86 and x64):

Microsoft Visual Studio Community 2019 Version 16.4.6 VisualStudio.16.Release/16.4.6+29905.134 Microsoft .NET Framework Version 4.8.03752

Installed Version: Community

Visual C++ 2019 00435-60000-00000-AA503 Microsoft Visual C++ 2019

Build a new Visual C++ solution to compile and build. Add in the "Source Files" folder (Solution view) the existent file "\windows\klog_main.cpp" from this project NOTE: In the project properties menu, remember to set "C/C++" --> "Code generation" --> "Security Check" as "Disable Security Check (/GS-)" in order to use unsafe code.

Output example (in "System32Log.txt" in the local folder):

                    [Window: *Senza nome - Blocco note di Windows - at Sat Apr 11 17:15:32 2020] [SHIFT]Notepad just opened[SHIFT]1 [SHIFT]Hello everyone[SHIFT]111

Note that "[SHIFT]1" is "!"

I hope this contribution will be useful.

GiacomoLaw commented 4 years ago

Thanks for this, apologies for the delay.

MaurizioMalaspina commented 4 years ago

Thank you for merging my proposal Giacomo.

Ciao, Maurizio