A sniffer is a piece of software that captures the traffic flowing into and out of a computer attached to a network.
A sniffer attack is commonly used to grab logins and passwords that are traveling around on the network.
Sniffing can be active or passive.
Popular attack methods include man in the middle attack and session hijacking
On switched networks, MAC flooding and ARP spoofing is carried out.