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

Configuring and testing our lab clients

Let's start both of our virtual machines, then configure and test the network connectivity.

Kali – manual ifconfig

In Kali, open up a terminal and type the following:

# ifconfig eth1 192.168.50.10 netmask 255.255.255.0 broadcast 192.168.50.255 promisc

We set eth1, which is on our virtual lab segment, to the IP address of 192.168.50.10, the network mask to 255.255.255.0, and the broadcast address to 192.168.50.255. As an added bonus, we also set the device into the promiscuous mode.

Ubuntu – manual ifconfig

Open up a terminal in Ubuntu_TestMachine_1 using the top menu bar and navigating through Applications | Accessories | Terminal. Type sudo ifconfig to check your current configuration. If everything is configured correctly, you should not have an IP address assigned to eth0. We will rectify that situation by repeating the steps used for our Kali machine. This time, we will use eth0 rather than eth1, and we will not place this network...

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