Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learn Ethical Hacking from Scratch
  • Toc
  • feedback
Learn Ethical Hacking from Scratch

Learn Ethical Hacking from Scratch

By : Sabih
4.4 (17)
close
Learn Ethical Hacking from Scratch

Learn Ethical Hacking from Scratch

4.4 (17)
By: Sabih

Overview of this book

This book starts with the basics of ethical hacking, how to practice hacking safely and legally, and how to install and interact with Kali Linux and the Linux terminal. You will explore network hacking, where you will see how to test the security of wired and wireless networks. You’ll also learn how to crack the password for any Wi-Fi network (whether it uses WEP, WPA, or WPA2) and spy on the connected devices. Moving on, you will discover how to gain access to remote computer systems using client-side and server-side attacks. You will also get the hang of post-exploitation techniques, including remotely controlling and interacting with the systems that you compromised. Towards the end of the book, you will be able to pick up web application hacking techniques. You'll see how to discover, exploit, and prevent a number of website vulnerabilities, such as XSS and SQL injections. The attacks covered are practical techniques that work against real systems and are purely for educational purposes. At the end of each section, you will learn how to detect, prevent, and secure systems from these attacks.
Table of Contents (24 chapters)
close
22
Discovering Vulnerabilities Automatically Using OWASP ZAP

Generating a Veil backdoor

We're now going to use Veil to generate a backdoor. First, we'll run the list command. We'll type the use 1 command, as we want to use Evasion and press Enter, and, as we want to use the fifteenth payload, we'll run the use 15 command, as follows:

Using the following options, we're going to change the payload's IP LHOST to the IP address of the Kali machine we're using.

To get the IP address of our Kali machine, we have to run ifconfig. Split the screen by right-clicking and selecting Split Horizontally, and then run the command. As shown in the following screenshot, the Kali machine's IP address is 10.0.2.15, which is where we want the target computer's connection to return to once the backdoor has been executed:

To set LHOST as 10.0.2.15, write the set command followed by the option you want to change...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete