Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 2.46 KB

README.md

File metadata and controls

29 lines (21 loc) · 2.46 KB

scapy-cli

An interactive CLI based packet generator script, developed using Python3 and Scapy. To quickly craft and send different protocol packets on a network interface.

The primary purpose of this tool is for testing and troubleshooting only, and it is not intended for any malicious or harmful use.

Documentation

Detailed documentation containing installation steps and examples can be found in the Wiki available here.

Modules

The script currently supports following packet generation modules

Module Sub-modules Random packet
generation
VLAN Tagging Multiple Flows Class of Service (CoS)
marking
ICMP
  • Request
  • Response
ARP
  • Request
  • Reply
IGMP v1
  • Membership Query
  • Membership Report

v2
  • Membership Query, General
  • Membership Query, Group-Specific
  • Membership Report
  • Leave Group

v3
  • Membership Query, General
  • Membership Query, Group-Specific
  • Membership Query, Group-and-Source-Specific
  • Membership Report
  • Leave Group
Multicast
VXLAN
  • Vxlan - Inner ICMP
  • Vxlan - Inner UDP
  • Vxlan - Inner TCP
  • Vxlan - Inner ARP
Pause Frame
(802.3x)
Priority Flow Control
(802.1Qbb)
MPLS
  • MPLS - Inner ICMP
  • MPLS - Inner UDP
  • MPLS - Inner TCP
  • MPLS - Inner ARP

Pseudowire Control Word option available
Load PCAP File Edit and replay
  • All Packets
  • Specific IP flows
  • Specific Non-IP flows

Replay the same pcap