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:
- Use a text editor and edit the
/etc/ettercap/etter.conf
file.#nano /etc/ettercap/etter.conf
- Change the
gid
anduid
that Ettercap uses to0
. This will allow the process to run as root and manipulating interface or operating settings to accomplish our goals will not be an issue. - Edit the configuration for
dns_spoof
plugin for Ettercap. Again, use a text editor and edit the file at/etc/ettercap/etter.dns
. - In the redirection section of the file titled microsoft sucks ;), you will be adding ...
Get Mastering Kali Linux Wireless Pentesting now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.