Javascript for Pentester Task 8

Hello Security Guys, today I am going to post another solution to the task provided at Javascript for Pentester at Pentester Academy. In this task, we will learn how to use event listeners, how an attacker can play more with these event listeners. You can view solutions to the other tasks here.