Questions about this topic? Sign up to ask in the talk tab.
Difference between revisions of "Main Page/Featured Article"
From NetSec
GertieUbpgdd (Talk | contribs) |
|||
Line 1: | Line 1: | ||
− | <center><big>''' | + | <center><big>'''Arp poisoning with scapy'''</big></center> |
− | + | 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. | |
− | <center>'''''[[ | + | <center>'''''[[Arp poisoning with scapy|Learn more - Arp poisoning with scapy]]'''''</center> |
Revision as of 21:19, 10 July 2012
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.