MITM is known as one of the most common attack and this tool do this attack. This repo include arp poisoner and packet listener python files. This is educational repository so don't try this tool over other users. Firstly run arp_poisoner.py then packet_listener.py also you can use wireshark instead of packet_listener.py
Operating system: Linux
Libraries:
> pip install scapy
> python3 arp_poisoner.py -t target_ip -g gateway_ip
if you want to see all packets by sent target user you should use option 1
Option 1 -> python3 packetlistener.py --all <interface>
if you want to see just user infos like username and password when a user go into http sites you should use option 2
Option 2 -> python3 packetlistener.py --userinfos <interface>
packetListener can show http pakets, https packets seen as encoded.