-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Docker Image #18
Comments
I'd like to take this |
Real quick working example, but without any fancyness: FROM openjdk:14-buster
RUN apt-get update -y
RUN apt-get install -y nmap ncrack
COPY . /tsunami
WORKDIR /tsunami
RUN "/tsunami/quick_start.sh"
WORKDIR /root/tsunami docker build -t tsunami .
docker run --rm --net=host -it tsunami /bin/bash In container you can run this: java -cp "/root/tsunami/tsunami-main-0.0.2-SNAPSHOT-cli.jar:/root/tsunami/plugins/*" -Dtsunami-config.location=/root/tsunami/tsunami.yaml com.google.tsunami.main.cli.TsunamiCli --ip-v4-target=[target_IP] |
Thank you @rayanht I noticed that the output is json. Do you know if there is a GUI that can display this data in a more meaningful way or provide reports? Something like OpenVAS or Nessus? |
I noticed earlier today there is something here, but not very useful. |
@vdjagilev pretty minor, I believe Thanks for putting together that working example. |
Would love to see the ability to scan a larger range-subnet such as com.google.tsunami.main.cli.TsunamiCli --ip-v4-target=192.168.1.0/24 or com.google.tsunami.main.cli.TsunamiCli --ip-v4-target=10.0.0.0/16 |
@mwahl217 Just my two cents but I feel like that's something that should be implemented at the application level rather than through some Docker wizardry |
I agree, ill open a new feature request. |
Extended version with arguments and envs - also in CMD - suitable for CI systems integration.
This way you can build your image from a build system passing the proper variables to the pipeline job (ip version and host ip). These variables are rendered during docker image build time. Such Image is immutable - it only needs to be kubectl deployed or docker run after it's built. Example for building image:
Going step further for more generic use (linux only), |
Closing as the |
@frakman1 This public docker image is still under internal security and license review. I'll post an update here once the review is done and the image is released to gcr.io. |
@magl0 Do you know if the docker image will support Raspberry Pi (i.e. arm architecture)? I have not been successfull in using quickstart.sh on Pi |
@frakman1 Unfortunately the initial release of the docker image will not support ARM architecture. The main focus point of the project right now is on Linux servers. Adding support for ARM architecture and other OSes like Windows is relatively low on our priority list and will not have a SLO. But thanks for opening the issues and adding the data points for the build failures on ARM! |
No problem. I hope you reconsider ARM because it is a low-cost Linux server that is ideally suited for LAN side testing of network devices that traditional x86/arm64 Linux servers on the WAN side can't reach. I understand Windows would be a low priority but Raspberry Pis are a popular testing platform. |
It would be nice if there was a docker image to run this project with.
The text was updated successfully, but these errors were encountered: