#!/bin/bash #------------------------------------------------------------------------- # Script which installs a virtual environment for PCAP file parsing # # Stefan Mathis, September 2024 #------------------------------------------------------------------------- # Remove any previous testing environment if [ -d "venv" ]; then rm -r venv fi /usr/bin/python3.11 -m venv venv source venv/bin/activate pip install --upgrade pip pip install "scapy>=2.5,<3.0" # Exit the virtual environment exit