Skip to content

Using Docker

Building docker image

How to Build docker file for the premium package?

Just change the https://raw.githubusercontent.com/osmedeus/osmedeus-base/master/install.sh in Dockerfile to the install URL that I gave you.

git clone --depth=1 git@github.com:osmedeus/osmedeus-base.git
cd osmedeus-base/
docker build -t j3ssie/osmedeus:latest .

Running the scan

crypto-donate

# create a volume with name `osmws` first, if you want to keep workspace data
docker volume create osmws

# run the scan
docker run -it --rm -v osmws:/root/.osmedeus/workspaces j3ssie/osmedeus:latest scan -f fast -t sample.com


# access the docker via bash if you want to see a raw result of the previous or current scan
docker ps

docker exec -it <container-id> /bin/bash

Run the Web UI

Note that osmedeus-scanner is just the name, you can use anything you want

## Start the web server
docker run -d --name osmedeus-scanner -v osmws:/root/.osmedeus/workspaces -p 8000:8000 j3ssie/osmedeus:latest server

## grepping for password
docker exec -it osmedeus-scanner -v osmws:/root/.osmedeus/workspaces grep password /root/.osmedeus/config.yaml | head -1