Siegfried5 / Keylogger

Keylogger Code In C++ Will Work On Window 7, 8, 8.1, And 10
Apache License 2.0
77 stars 31 forks source link

keylogger Startup Automatically #2

Open Williiam786 opened 6 years ago

Williiam786 commented 6 years ago

what code should i add to the keylogger to make it startup with the system after reboot?? Can anyone help me in this??

Siegfried5 commented 6 years ago

you can add a value to the following machine HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run by using RegCreateKeyEx function, https://msdn.microsoft.com/en-us/library/windows/desktop/ms724844(v=vs.85).aspx for more info. Or you can added it to the start menu located in user appdata. ex(copy keylogger.exe C:\Users\Siegfried5\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup);

Now when adding the code to do any of these thing i recommend creating a function and adding it to keybhook.h file this way you can simply just call that function in the main.cpp file.

sunnepazzy123 commented 6 years ago

Pls Siegfried can u help me with your keylogger ..i have done what u said but it didn't run