Questions about this topic? Sign up to ask in the talk tab.

Main Page/Featured Article

From NetSec
Revision as of 21:19, 10 July 2012 by GertieUbpgdd (Talk | contribs)

Jump to: navigation, search
Arp poisoning with scapy

Scapy is a Python ibrary found in most distribution's repositories under scapy or python-scapy and it must be ran as root for most (if not all) operations. Sniffing in scapy is fairly straight forward using the sniff() function. Packet crafting can be done by creating each header, ethernet headers (include source and destination MAC addresses) using Ether(), IP headers (which include information such as source and destination IP addresses) via the IP() function. If it is a TCP packet, the TCP() function is used, and if it is UDP, the UDP() function.

Learn more - Arp poisoning with scapy