An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

ettercap graphical in docker
============================

This project builds and runs ettercap-graphical in Docker, designed for use on OSX.

![ettercap-graphical on OSX](./imgs/example.png "ettercap-graphical 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
```