Network baselines with scanPBNJ

In the previous chapter, we downloaded and hopefully successfully installed the tool in Kali 2.0. If not, we can use an earlier version of Kali. We will now use the tool to store information from our testing. We will take advantage of this and have PBNJ deposit our scan findings into a MySQL database that we will prepare.

Setting up MySQL for PBNJ

Type the following in the command line:

# service mysql start

The service should be started. You can also use service stop or service restart in the same manner. It is also important to note that the traditional way of using the start up commands is also good to know. For example:

# /etc/init.d/mysql start

Preparing the PBNJ database

Prepare the PBNJ database using the following ...

Get Advanced Penetration Testing for Highly-Secured Environments - Second Edition 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.