diff --git a/Dockerfile b/Dockerfile index eba7345e..f6f11da2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ FROM adoptopenjdk/openjdk13:debianslim-jre # Install dependencies RUN apt-get update \ - && apt-get install -y --no-install-recommends nmap ncrack ca-certificates dnsutils net-tools procps vi iproute2 \ + && apt-get install -y --no-install-recommends nmap ncrack ca-certificates \ && apt-get clean \ && mkdir logs/ diff --git a/README.md b/README.md index aa2e0b0c..e7f678a0 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,21 @@ To quickly get started with Tsunami scans, 1. build the docker image for Tsunami: - ``` + ```shell docker build -t tsunami . ``` -1. run the Tsunami image. The logs can be saved to the host machine by mounting a volume: +1. run the Tsunami image. The logs can be saved to the host machine by mounting a volume: + ```shell + docker run --network="host" -v "$(pwd)/logs":/usr/tsunami/logs tsunami ``` - docker run --network="host" -v "$(pwd)/logs":/usr/tsunami/logs tsunami + +1. installing debug tools in the Tsunami image. + + ```shell + docker exec -it tsunami bash -c "apt-get update && apt-get install -y dnsutils net-tools procps" + docker exec -it tsunami bach -c "ping hostname" ``` ## Contributing