Skip to content

UchihaItachiSama/scapy-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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