Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Kali Linux Cookbook - Second Edition

You're reading from  Kali Linux Cookbook - Second Edition

Product type Book
Published in Sep 2017
Publisher
ISBN-13 9781784390303
Pages 438 pages
Edition 2nd Edition
Languages
Authors (2):
Corey Schultz Corey Schultz
Profile icon Corey Schultz
Bob Perciaccante Bob Perciaccante
Profile icon Bob Perciaccante
View More author details

Table of Contents (11) Chapters

Preface 1. Installing Kali and the Lab Setup 2. Reconnaissance and Scanning 3. Vulnerability Analysis 4. Finding Exploits in the Target 5. Social Engineering 6. Password Cracking 7. Privilege Escalation 8. Wireless Specific Recipes 9. Web and Database Specific Recipes 10. Maintaining Access

Upgrading Kali Linux

Now that we have a base install of Kali, let's run through any updates and upgrades required. This is something you want to do periodically with the system, to make sure you are using the most up-to-date information.

Getting ready

Before you start, ensure the following prerequisites:

  • Your computer is connected to the internet
  • Your installation of Kali is running
  • You are logged in as root

How to do it...

To bring an existing Kali Linux installation up to date, you will do the following:

  1. From the main Kali desktop, let's click on the terminal icon in the upper-left part of the screen:
Kali Linux desktop
Since we are already logged in as the root, we will not require any elevation of privileges using the su or sudo commands.
  1. From the Command Prompt, type this:
 apt-get update
Kali Linux Command Prompt
After the initial installation, this process could take several minutes to complete.
  1. Once complete, we will actually upgrade the system by entering the following at the Command Prompt:
 apt-get upgrade
Kali Linux Command Prompt
  1. After a minute or two, you will get a screen explaining what will be upgraded and what needs to be installed for the upgrades to occur. When ready to continue, type Y and press Enter:
Kali linux Command Prompt
This process will take quite some time to complete, so please be patient as your system upgrades.
  1. Once complete, we will reboot the system to ensure we have a fresh running environment. To continue, type this:
 shutdown -r now
Kali Linux Command Prompt

There's more..

During the upgrade, you may get prompted for a couple of items such as following:

apt-listchanges: news section

You may get paused at an apt-listchanges: news section, and you will be presented with a : sign at the bottom; you can use your arrow keys to read the notice, and then just press q to quit and continue.

The configuring macchanger

You can set up the system to change the mac automatically per boot. For our testing purposes, it's not required; however, if you are doing this in a live environment, you may want to configure it. Select No:

Configuring macchanger dialog box

The service restart

You maybe asked to restart services automatically to ease upgrades; select Yes:

You have been reading a chapter from
Kali Linux Cookbook - Second Edition
Published in: Sep 2017 Publisher: ISBN-13: 9781784390303
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 $15.99/month. Cancel anytime}