Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.4 KB

File metadata and controls

31 lines (20 loc) · 1.4 KB

Scapy Web UI

build Dependabot auto-approve

Example

👋 Introduction

This repository demonstrates a simple web interface calling a Flask API to invoke network inspection calls using the Scapy framework.

💾 Setup

Scapy has a lot of optional dependencies! Those for Linux can be installed using just install_fedora and just install_ubuntu. The Node.js and Python dependencies can be installed using just install.

🚀 Run

Open a terminal and run Just. The sudo used in the command is often required due to file and network I/O.

🧪 Test

Whilst the web app is running, open a separate terminal and run the integration test suite with just test. This uses Playwright headless browser tests to verify the UI works as expected. You can see these in a browser using just test_interactive. Screenshots of successful tests are stored in the screenshots directory.