DNS spoofing + apache2

First, set you html page and start the apache2 service.

Now, configure the /etc/ettercap/etter.conf and set these 2 variables to 0.

Third step, open the /etc/ettercap/etter.dns and set the domains you want to spoof.

Now start an ARP spoof with ettercap.

Later than, go to plugins and double click the dns_spoof plugin.

This will not work if the website you are spoofing haves HSTS security.

Last updated