before we beginwe need to first tell our local host machine that we can forward packets along to both the gateway and the target ip address if you are on your kali vmenter the following command into your terminal#:echo /proc/sys/net/ipv /ip_forward if you are an apple fanboythen use the following commandfanboy:tmp justinsudo sysctl - net inet ip forwarding= now that we have ip forwarding in placelet' fire up our script and check the arp cache of our target machine from your attacking machinerun the following (as root)fanboy:tmp justinsudo python arper py warningno route found for ipv destination :(no default route?[*setting up en [*gateway is at :ea: : : : [*target is at : : :ec: : [*beginning the arp poison [ctrl- to stop[*starting sniffer for packets awesomeno errors or other weirdness now let' validate the attack on our target machinec:\users\clarearp - interface -- xb internet address physical address - - -ab- - - - -ab- - ff-ff-ff-ff-ff-ff - - -fb - - -fc ff-ff-ff-ff-ff-ff type dynamic dynamic static static static static static you can now see that poor clare (it' hard being married to hackerhackinain' easyetc now has her arp cache poisoned where the gateway now has the same mac address as the attacking computer you can clearly see in the entry above the gateway that ' attacking from when the attack is finished capturing packetsyou should see an arper pcap file in the same directory as your script you can of course do things such as force the target computer to proxy all of its traffic through local instance of burp or do any number of other nasty things you might want to hang on to that pcap for the next section on pcap processing -you never know what you might find