Database schema for the port scanning portion of the vulnerability scanner

Let's try to understand the backend database and the structure of the various tables within the database that we are using. The show databases command is used to list all the databases present in MySQL:

In order to use the current database, which is relevant for our vulnerability scanner, we use the use nmapscan command. Furthermore, to see all the tables within the current database, we use the show tables command:

In order for us to see the structure or schema of the ...

Get Hands-On Penetration Testing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.