mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
15 lines
463 B
Bash
Executable File
15 lines
463 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Start from a clean environment
|
|
rm -rf venv/
|
|
|
|
# Basic python3 virtual environment
|
|
python3 -m venv venv
|
|
source venv/bin/activate
|
|
pip install wheel
|
|
pip install -r requirements.txt
|
|
|
|
# Fix a bug in scapy that isn't fixed in the PyPI version yet. For background see
|
|
# https://github.com/secdev/scapy/commit/46fa40fde4049ad7770481f8806c59640df24059
|
|
sed -i 's/find_library("libc")/find_library("c")/g' venv/lib/python*/site-packages/scapy/arch/bpf/core.py
|