Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Kali Linux Cookbook

You're reading from   Kali Linux Cookbook When you know what hackers know, you're better able to protect your online information. With this book you'll learn just what Kali Linux is capable of and get the chance to use a host of recipes.

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781783289592
Length 260 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Up and Running with Kali Linux FREE CHAPTER 2. Customizing Kali Linux 3. Advanced Testing Lab 4. Information Gathering 5. Vulnerability Assessment 6. Exploiting Vulnerabilities 7. Escalating Privileges 8. Password Attacks 9. Wireless Attacks Index

Installing VMware Tools

In this recipe, we will demonstrate how to install Kali Linux as a virtual machine using VMware Tools.

Getting ready

The following requirements need to be fulfilled:

  • A previously installed Kali Linux VMware virtual machine
  • An Internet connection

How to do it...

Let's begin the process of installing Kali Linux on VMware:

  1. With your virtual machine's guest operating system powered on and connected to the Internet, open a Terminal window and type the following command to prepare the kernel sources:
    prepare-kernel-sources
    

    Note

    These instructions are assuming you are using either Linux or Mac OS machines. You will not need to perform these steps under Windows.

  2. On the VMware Workstation menu bar, navigate to VM | Install VMware Tools…:
    How to do it...
  3. Copy the VMware Tools installer to a temporary location and then change the location to the target directory:
    cp /media/VMware\ Tools/VMwareTools-8.8.2-590212.tar.gz /tmp/; cd /tmp/
    

    Note

    Replace the filename according to your VMware Tools version: VMwareTools-<version>-<build>.tar.gz

  4. Untar the installer by issuing the following command:
    tar zxpf VMwareTools-8.8.2-590212.tar.gz
    
  5. Go to the VMware Tools' directory and run the installer:
    cd vmware-tools-distrib/
    ./vmware-install.pl
    
  6. Press Enter to accept the default values in each configuration question; the same applies with the vmware-config-tools.pl script.
  7. Finally, reboot and we're done!

How it works...

In the first step, we prepared our kernel source. Next, we virtually inserted the VMware Tools CD into the guest operating system. Then, we created the mount point and mounted the virtual CD drive. We copied and extracted the installer in a temporary folder and finally we ran the installer leaving the default values.

You have been reading a chapter from
Kali Linux Cookbook
Published in: Oct 2013
Publisher: Packt
ISBN-13: 9781783289592
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 $19.99/month. Cancel anytime