This keylogger can be expanded in many ways. As mentioned, this code should be used for educational use only and is not intended for malicious application. Additional experiments for capture include the capture of non-English keyboards, the capture of binary information on the clipboard, and modification of behavior based on newly created processes. Through these additional features, new APIs can be explored and the manipulation of complex data types can be approached.
The clipboard also has a wide number of triggers available for addition. Left handed users may be aware of the Ctrl + Insert, Shift + Insert, or Shift + Delete key combinations can be used for copy, paste, and cut, respectively. By adding these key combinations we can be sure to catch more clipboard data in transit. Another method to capture this information would be to grab clipboard information whenever a right click occurs, to ensure that mouse driven commands do not prevent us from missing information...