Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Advanced Penetration Testing for Highly-Secured Environments, Second Edition

You're reading from   Advanced Penetration Testing for Highly-Secured Environments, Second Edition Employ the most advanced pentesting techniques and tools to build highly-secured systems and environments

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781784395810
Length 428 pages
Edition 2nd Edition
Arrow right icon
Authors (2):
Arrow left icon
Kevin Cardwell Kevin Cardwell
Author Profile Icon Kevin Cardwell
Kevin Cardwell
Lee Allen Lee Allen
Author Profile Icon Lee Allen
Lee Allen
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Penetration Testing Essentials FREE CHAPTER 2. Preparing a Test Environment 3. Assessment Planning 4. Intelligence Gathering 5. Network Service Attacks 6. Exploitation 7. Web Application Attacks 8. Exploitation Concepts 9. Post-Exploitation 10. Stealth Techniques 11. Data Gathering and Reporting 12. Penetration Testing Challenge Index

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 steps:

# mysql
  Welcome to the MySQL monitor.  Commands end with ; or \g.
  Your MySQL connection id is 48
  Server version: 5.5.43-0+deb7u1 (Debian)

  Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  mysql&gt...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime