O'Reilly logo

Kali Linux Cookbook - Second Edition by Bob Perciaccante, Corey P. Schultz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

We will now perform DHCP spoofing on the network:

  1. Open up a new terminal window by clicking on the following icon. 
  2. We need to ensure promiscuous mode is on for the interface we are using, and we all need to ensure that IP forwarding is turned on. Then we will start ettercap in the GUI Mode:
ifconfig eth0 promisc echo 1 > /proc/sys/net/ipv4/ip_forwardettercap -G
  1. From the ettercap main GUI screen, we want to start sniffing traffic. Click on Sniff | Unified sniffing. Then, select the interface we will use. For test purposes, we will use our host-only interface of eth1 and click OK:
ettercap main screen
  1. From here, we will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required