1. Write a keylogger. As a command line argument it takes a file path where to store logs. If the log file or path do not exist, the program should create them. Each command that user entered should be prefixed with timestamp (`[year:month:day|hour:min:sec]`). The commands should work as in the usual command line. Prompt of the keylogger can be any symbol or string (e.g. `>` or `$`).
0 commit comments