Skip to content

peter-mcconnell/docker-ettercap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ettercap graphical in docker

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

ettercap-graphical on OSX

build

docker build -t=pemcconnell/ettercap-graphical:latest .

run (OSX. XQuartz)

dependencies

  • socat
  • XQuartz (tested on 2.7.11)
  • Docker (tested on 18.09.0)
# 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

About

ettercap-graphical running in a container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published