scapy Archive

scapy tcp packet

This tutorial shows how to create a TCP header with scapy and how to associate a destination port with it. The destination port number of 80 is used which signifies the port number used by http. 1. The command sudo scapy starts scapy on the Ubuntu system.

How to use scapy in Python

This tutorial explains how to use scapy in Python in the ubuntu platform. Follow the steps to import scapy into Python. 1. The first step is create a Python file on the platform. Here we are using the Ubuntu platform. A python file file named scapyping.py is

Python Scapy tutorial

This tutorial explains the basics of scapy and how scapy can be integrated with Python to build custom network tools and scripts. What is scapy Scapy is a packet crafting framework which works on windows and Linux platforms. Scapy is free to use and can be downloaded

scapy send packet explained

This tutorial explains the different layers at which you can send packets using scapy. Predominantly you can use two methods to send packets. The send command is used for appending and sending packets at the IP layer and the command sendp is used for appending and sending

How to build ARP Packet with Scapy

This example shows how to build an ARP request packet with scapy. The above source code shows the script developed with scapy which is used to build and send an ARP request packet. The line by line code explanation is provided below. 1. The first line ether=Ether()