Your ultimate goal of attacking a web application is to extract interesting data from the database. To do that, you must gather some information about the database. Such as, Database type and version Names of the tables and columns that contain the data you want to access. Different databases have…