In this recipe, we will perform a URL traffic manipulation attack. URL traffic manipulation is very similar to a Man-in-the-middle (MITM) attack, in which we will route traffic destined for the Internet to pass through our machine first. We will perform this attack through ARP poisoning. ARP poisoning is a technique that allows you to send spoofed ARP messages to a victim on the local network. We will execute this recipe using Arpspoof.
Let's begin the URL traffic manipulation process.
sudo echo 1 >> /proc/sys/net/ipv4/ip_forward