C program of Keylogger or is a computer program which captures all the key strokes pressed by user in real time. It captures all the keys and write them to some file say log.txt and stores it on computer hard disk. Now sending these logs to emails or FTP address depends upon the type of Keylogger that is keylogger is remote keylogger or physical keylogger.
Physical Keylogger are useful when you have physical access to that system and can retrieve logs personally. While Remote Keyloggers can be used from anywhere in the world, the only requirement is that victim must have internet connection.
Today i will write a C program of Physical keylogger or Keystroke logger which requires physical access of the system.
Let's extending our logic in further programs to make it remote keylogger which sends logs to FTP’s and Emails directly. So first of all lets see how simple Keylogger program works
Algorithm for writing a Simple Keylogger:
Now let us see the C program of Keylogger or which intercepts all the keys pressed by the USER and store these pressed keys in log file.
Physical Keylogger are useful when you have physical access to that system and can retrieve logs personally. While Remote Keyloggers can be used from anywhere in the world, the only requirement is that victim must have internet connection.
Today i will write a C program of Physical keylogger or Keystroke logger which requires physical access of the system.
Let's extending our logic in further programs to make it remote keylogger which sends logs to FTP’s and Emails directly. So first of all lets see how simple Keylogger program works
Algorithm for writing a Simple Keylogger:
1. Create an Empty log file for storing keylogs.
2. Intercept keys pressed by user using GetAsyncKeyState() function.
3. Store these intercepted values in file.
4. Hide the Running Window Dialog to make it undetectable.
5. Use while loop to make it running in all conditions.
6. Add Sleep() function to reduce the CPU usage to 0%.
Now let us see the C program of Keylogger or which intercepts all the keys pressed by the USER and store these pressed keys in log file.
For complete guide of C, C++ and other programes, visite my Official Website by uploading your file on the server