Sign inSign up

saidsef/scapy-containerised

By saidsef

Updated 3 days ago

Docker container for intercepting packets with Scapy with ttyd terminal

Image
Networking
Security
0

9.8K

saidsef/scapy-containerised repository overview

Scapy Containerised

Scapy is a powerful Python-based interactive packet manipulation program and library.

Scapy enables the user to send, sniff and dissect and forge network packets. This capability allows construction of tools that can probe, scan or attack networks.

Scapy is usable either as a shell or as a library. For further details, please head over to Getting started with Scapy, which is part of the documentation.

Prerequisite

  • Container runtime
  • Some Python Knowledge
  • Have read Scapy docs

Installation

Follow these steps to build:

git clone https://github.com/saidsef/scapy-containerised
docker build -t saidsef/scapy-containerised:latest .
docker run -d --net=host --privileged -v /path/to/geoip2:/data saidsef/scapy-containerised:latest

Deployment

  • Deployment steps TODO

Sniff Packets

sniff(iface="ens3", prn=lambda x:x.show(), lfilter=lambda x: TLS in x, count=100)  

Tag summary

Content type

Image

Digest

sha256:687c26024

Size

447.4 MB

Last updated

3 days ago

docker pull saidsef/scapy-containerised