Skip to content
Ghidra Client/Server Docker Image
Branch: master
Clone or download
Latest commit 1e47daf Mar 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks should fix #1 Mar 13, 2019
.dockerignore add files Mar 6, 2019
.gitignore
Dockerfile 🚧 Mar 9, 2019
LATEST add files Mar 6, 2019
LICENSE
Makefile updates Mar 10, 2019
README.md Update README.md Mar 10, 2019
docker-compose.yml Update docker-compose.yml Mar 10, 2019
entrypoint.sh thank you @as0bu Mar 10, 2019
ghidra.png add files Mar 6, 2019
server.conf

README.md

Malice Logo

docker-ghidra

Ghidra Client/Server Docker Image

Why?

Cuz installing Java on your Mac is gross. 😏

Dependencies

Image Tags

REPOSITORY               TAG                 SIZE
blacktop/ghidra          latest              1.25GB
blacktop/ghidra          9.0                 1.25GB

Getting Started

Client

On macOS

  1. Install XQuartz
$ brew cask install xquartz
  1. Install socat
$ brew install socat
  1. open -a XQuartz and make sure you "Allow connections from network clients"
  2. Now add the IP using Xhost with: xhost + 127.0.0.1 or xhost + $(ipconfig getifaddr en0)
  3. Start socat
$ socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
  1. Start up Ghidra
$ docker run --init -it --rm \
             --name ghidra \
             --cpus 2 \
             --memory 4g \
             -e MAXMEM=4G \
             -e DISPLAY=host.docker.internal:0 \
             -v /path/to/samples:/samples \
             -v /path/to/projects:/root \
             blacktop/ghidra

Server

$ docker run --init -it --rm \
             --name ghidra-server \
             --cpus 2 \
             --memory 4g \
             -e GHIDRA_USERS="root blacktop"
             -v /path/to/repos:/repos \
             blacktop/ghidra server

TODO

  • Figure out how to add --network none 😉
  • Figure out how to add --read-only

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

Credits

License

Apache License (Version 2.0)

You can’t perform that action at this time.