Book Image

Kali Linux - An Ethical Hacker's Cookbook

By : Himanshu Sharma
Book Image

Kali Linux - An Ethical Hacker's Cookbook

By: Himanshu Sharma

Overview of this book

With the current rate of hacking, it is very important to pentest your environment in order to ensure advanced-level security. This book is packed with practical recipes that will quickly get you started with Kali Linux (version 2016.2) according to your needs, and move on to core functionalities. This book will start with the installation and configuration of Kali Linux so that you can perform your tests. You will learn how to plan attack strategies and perform web application exploitation using tools such as Burp, and Jexboss. You will also learn how to perform network exploitation using Metasploit, Sparta, and Wireshark. Next, you will perform wireless and password attacks using tools such as Patator, John the Ripper, and airoscript-ng. Lastly, you will learn how to create an optimum quality pentest report! By the end of this book, you will know how to conduct advanced penetration testing thanks to the book’s crisp and task-oriented recipes.
Table of Contents (20 chapters)
Title Page
Credits
Disclaimer
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
6
Wireless Attacks – Getting Past Aircrack-ng

Generating reports using Dradis


Dradis is an open source browser-based application, which can be used to combine the output of different tools and generate a report. It is extremely easy to use and comes preinstalled with Kali. However, running it may show errors. So, we will reinstall it and then learn how to use it.

How to do it...

Following is the recipe for using Dradis:

  1. First, we need to install the dependencies by running the following commands:
        apt-get install libsqlite3-dev        apt-get install libmariadbclient-dev-compat         apt-get install mariadb-client-10.1        apt-get install mariadb-server-10.1        apt-get install redis-server
  1. We then use the following command:
        git clone https://github.com/dradis/dradis-ce.git

The following screenshot shows the output of the preceding command:

  1. Then, we change our directory:
       cd dradis-ce/
  1. Now we run the following command:
        bundle install --path PATH/TO/DRADIS/FOLDER

The following screenshot shows the output of the...