From 697fe43ee72a215a20f85d5a0f1717d2c2177cdc Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 28 Mar 2021 23:53:46 -0400 Subject: [PATCH 1/4] Update Dockerfile Add common utils to docker image. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f6f11da2..eba7345e 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 \ + && apt-get install -y --no-install-recommends nmap ncrack ca-certificates dnsutils net-tools procps vi iproute2 \ && apt-get clean \ && mkdir logs/ From 00ccb04001a2b3008358fefccc10148b23233412 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:32:54 -0500 Subject: [PATCH 2/4] Update README and remove tools from Dockerfile --- Dockerfile | 2 +- README.md | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) 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 From 5019b6f2638722807ac9a8f7d1a0ac859af93294 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:13:34 -0500 Subject: [PATCH 3/4] Update based on code review --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e7f678a0..65d2acae 100644 --- a/README.md +++ b/README.md @@ -81,11 +81,11 @@ To quickly get started with Tsunami scans, docker run --network="host" -v "$(pwd)/logs":/usr/tsunami/logs tsunami ``` -1. installing debug tools in the Tsunami image. +1. debugging issues with Tsunami container. The tsunami container is based on Debian which means + you you can exec into the container and install debug tools: ```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" + docker exec -it tsunami bash ``` ## Contributing From adfc8ce9e7ee02d72964cd591add9fd5d937e30c Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:15:01 -0500 Subject: [PATCH 4/4] Update based on code review --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65d2acae..38846ead 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ To quickly get started with Tsunami scans, docker run --network="host" -v "$(pwd)/logs":/usr/tsunami/logs tsunami ``` -1. debugging issues with Tsunami container. The tsunami container is based on Debian which means - you you can exec into the container and install debug tools: +1. debugging issues with Tsunami container. The tsunami container is based on Debian. To run debug tools simply + exec into the container and install them: ```shell docker exec -it tsunami bash