sudo apt-get install libnet1-dev
sudo apt-get install -y make
sudo apt-get install sqlite3 libsqlite3-dev libpcap0.8-dev
sudo apt install autoconf automake libtool
git clone https://www.github.com/ZYXMoodester123/yersinia.git
cd yersinia
./autogen.sh --disable-gtk
sudo make
sudo make install
The ARP Flooder that we created floods the broadcast address of the network which doesnt normal traffic to be returned
This attack can be run by using the command:
sudo yersinia -EH4ARP
This can be stopped using CTRL + C
The RSTP Root Bridge Changer attack changes the root bridge ID. This can be used by a hacker to make a switch the root bridge and sniff all the traffic on the network.
This attack can be run by using the command:
sudo yersinia -EH4STP
Please note that the MAC address of the host PC has to be changed manually in the code.