O'Reilly logo

Mastering Kali Linux Wireless Pentesting by Brian Sak, Jilumudi Raghu Ram

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

Configuring Ettercap for DNS spoofing

To use Ettercap in order to carry out DNS spoofing, we need to give Ettercap some additional privileges. Follow these steps:

  1. Use a text editor and edit the /etc/ettercap/etter.conf file.
    #nano /etc/ettercap/etter.conf
    
    Configuring Ettercap for DNS spoofing
  2. Change the gid and uid that Ettercap uses to 0. This will allow the process to run as root and manipulating interface or operating settings to accomplish our goals will not be an issue.
  3. Edit the configuration for dns_spoof plugin for Ettercap. Again, use a text editor and edit the file at /etc/ettercap/etter.dns.
  4. In the redirection section of the file titled microsoft sucks ;), you will be adding ...

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