-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Sandhiya Mani edited this page May 7, 2024
·
5 revisions
- Python3
- Scapy
- root privileges (sudo)
- Clone the repository using
git clone
or download it as a ZIP archive.
git clone https://github.com/UchihaItachiSama/scapy-cli.git
- OR -
git clone [email protected]:UchihaItachiSama/scapy-cli.git
- Install Python 3.8 or above
- Install requirements from
requirements.txt
file
python3 -m pip install -r requirements.txt
- Run the script with
sudo
sudo python3 /path-to/byteosaurus_hex.py
==================================================
Scapy based packet generator
==================================================
1 -- ICMP
2 -- ARP
3 -- IGMP
4 -- Multicast
5 -- VXLAN
6 -- Pause Frame
7 -- Priority Flow Control
8 -- MPLS
9 -- Load PCAP File
10 -- Exit
Enter your choice (1-10):
git clone https://github.com/secdev/scapy
cd scapy
- OR -
sudo unzip scapy-2.4.5.zip
cd /path-to/scapy-2.4.5/
- Next copy the
byteosaurus_hex.py
script from this repository under the scapy directory.
sudo cp byteosaurus_hex.py /path-to/scapy-2.4.5/
- Run the script with sudo
sudo python3 /path-to/scapy-2.4.5/byteosaurus_hex.py
==================================================
Scapy based packet generator
==================================================
1 -- ICMP
2 -- ARP
3 -- IGMP
4 -- Multicast
5 -- VXLAN
6 -- Pause Frame
7 -- Priority Flow Control
8 -- MPLS
9 -- Load PCAP File
10 -- Exit
Enter your choice (1-10):
- Select the desired module (1-10) and follow the prompts.
For detailed examples of each module refer to the Examples section.