I have a great idea to fool exams. My school uses a very old IDE (think Turbo Pascal, Turbo C ++ and other 80), and I would like to do the following:
Run my program in the background
intercept keystrokes, and instead of sending them directly to the screen, I would like to read a character from a pre-configured text file and send it as a pressed key. Thus, no matter what you write, the text from this file will be recorded on the screen.
I found an article by Stephen Tuuba of key records, and I think this is a good start to create this " tool," Is there a better alternative to intercept all keystrokes on the system than SetWindowsHookEx? Will antivirus code mark a suspicious program? If so, can I do anything else for this without being tagged with antivirus? Do you need administrator rights?
I know that some of you guys will say that if I showed the same interest in learning as I did to avoid learning, I would do everything, but I would like to try.
EDIT: I added generosity, I'm interested in some methods for capturing keystrokes (I'm not interested in low-level connections or advanced materials - the main ones are great), mostly method names and some documentation links. I would also like to know if they will appear as antivirus malware.
source
share