defenselessV1 is a vulnerable web application written in PHP/MySQL. This is the first version of this application. The purpose of…