#Task 4 Simple Keylogger
This Python program implements a basic keylogger that records and logs keystrokes. It captures the keys pressed by the user and saves them to a log file, providing an educational tool for understanding how keylogging works. This program includes ethical considerations and requires user consent before running.
Features
Key Logging: Records and logs every keystroke along with a timestamp. Log File: Saves the logged keystrokes to a specified file. User Consent: Includes a disclaimer and requires user acceptance of terms and conditions. Duration Control: Allows the user to specify the duration for which the keystrokes should be logged. Usage
Run the Program: Execute the script to start the keylogger program. Read and Accept Disclaimer: Carefully read the disclaimer and accept the terms and conditions to proceed. Specify Duration: Enter the duration in seconds for which the keylogger should run. Logging Keystrokes: The program will capture and log keystrokes during the specified period. Review Log: After the duration ends, the log file containing the keystrokes will be saved and its location displayed. This code was developed as part of my internship at The Prodigy Infotech, demonstrating the creation of a basic keylogger for educational purposes while emphasizing ethical usage and user consent.