Javascript for Pentester Task 7

Hello Pentesters today I am going to post another solution to the task provided at Javascript for Pentester at Pentester Academy. This task is too different in which we will learn how to catch and send keystrokes to the attacker machine. You can view solutions to the other tasks here.