https://github.com/peter-mcconnell/docker-ettercap
ettercap-graphical running in a container
https://github.com/peter-mcconnell/docker-ettercap
docker ettercap security
Last synced: about 2 months ago
JSON representation
ettercap-graphical running in a container
- Host: GitHub
- URL: https://github.com/peter-mcconnell/docker-ettercap
- Owner: peter-mcconnell
- Created: 2018-12-09T19:39:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T20:19:41.000Z (over 7 years ago)
- Last Synced: 2025-12-25T21:21:55.072Z (7 months ago)
- Topics: docker, ettercap, security
- Language: Dockerfile
- Size: 198 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ettercap graphical in docker
============================
This project builds and runs ettercap-graphical in Docker, designed for use on OSX.

build
-----
```bash
docker build -t=pemcconnell/ettercap-graphical:latest .
```
run (OSX. XQuartz)
------------------
**dependencies**
- socat
- XQuartz (tested on 2.7.11)
- Docker (tested on 18.09.0)
```bash
# ensure socat is running
(lsof -nP -i4TCP:6000 | tail -n1 | awk '{ print $1 }' | grep -q socat) || socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" &
# grab local ip
export LOCALIP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
docker run \
--rm \
-e "DISPLAY=$LOCALIP:0" \
-ti \
pemcconnell/ettercap-graphical:latest
```