From 4c9d9ac3851713e79c5b4bc89b0198a90555c6bc Mon Sep 17 00:00:00 2001 From: Michael Cromwell Date: Fri, 8 Apr 2022 18:30:29 +0100 Subject: [PATCH] Adding docker build file --- Dockerfile | 14 ++++++++++++++ README.md | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b262dbe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ + +FROM python:3-alpine as build + +LABEL org.opencontainers.image.authors="Michael Cromwell" + +COPY requirements.txt /requirements.txt + +RUN pip install -r /requirements.txt + +COPY . /app + +WORKDIR /app + +ENTRYPOINT [ "python", "./showdown.py" ] \ No newline at end of file diff --git a/README.md b/README.md index 9b29d46..03999b3 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,22 @@ Find SSL/TLS findings in network `103.71.205.0/24` and prompt for API key: python3 showdown.py --plugins ssl net 103.71.205.0/24 ~~~ +## Docker + +Showdown can be ran in a docker container, simply clone the repo and build the docker image: + +~~~sh +git@github.com:stavinski/showdown.git +cd showdown +docker build -t showdown . +~~~ + +The docker image can then be ran by providing the arguments as usual: + +~~~sh +docker run showdown --help +~~~ + ## Plugins To create a new plugin: @@ -139,3 +155,4 @@ class Plugin(AbstractPlugin): - [ ] Plugin: SSH - [ ] Plugin: GUI - [ ] Plugin: Interesting Ports +- [ ] Docker support \ No newline at end of file