diff --git a/.gitignore b/.gitignore index 9830caf..0d4221d 100644 --- a/.gitignore +++ b/.gitignore @@ -105,6 +105,6 @@ venv.bak/ # custom .idea/* -Dockerfile* auth/creds.env +!dockers/*.tmp dockers/user_config.json diff --git a/dockers/Dockerfile.Aquatone.tmp b/dockers/Dockerfile.Aquatone.tmp new file mode 100644 index 0000000..55ac72b --- /dev/null +++ b/dockers/Dockerfile.Aquatone.tmp @@ -0,0 +1,24 @@ +FROM andrius/alpine-ruby + +ENV http_proxy $proxy +ENV https_proxy $proxy +ENV DNS $dns +ENV TARGET $target +ENV OUTPUT $output + +RUN if [ -n "$$DNS" ];\ + then echo "nameserver $$DNS" > /etc/resolv.conf;\ + fi; \ + apk update && apk upgrade && apk add --no-cache git build-base ruby ruby-bundler ruby-dev gcc libffi ruby-json libc-dev make linux-headers libffi-dev + +RUN if [ -n "$$DNS" ]; \ + then echo "nameserver $DNS" > /etc/resolv.conf;\ + fi; \ + if [ -n "$$http_proxy" ]; \ + then gem install --http-proxy=$http_proxy aquatone;\ + else gem install aquatone; \ + fi; + +RUN mkdir -p $output + +ENTRYPOINT aquatone-discover --thread 40 --ignore-private --domain "$target" && mv /root/aquatone/$target/hosts.txt $output/aquatone.txt diff --git a/dockers/Dockerfile.HTTPScreenshot.tmp b/dockers/Dockerfile.HTTPScreenshot.tmp new file mode 100644 index 0000000..535b99b --- /dev/null +++ b/dockers/Dockerfile.HTTPScreenshot.tmp @@ -0,0 +1,13 @@ +FROM andmyhacks/httpscreenshot + +ENV DNS $dns +ENV TARGET $target +ENV OUTPUT $output +ENV INPUTFILELIST $inputfilelist + +RUN useradd -ms /bin/bash test +USER test + +WORKDIR $$OUTPUT + +ENTRYPOINT [ ! -d "screenshots" ] && mkdir screenshots ; cd screenshots && httpscreenshot -l $$OUTPUT/$$INPUTFILELIST -p -w 40 -a -vH diff --git a/dockers/Dockerfile.Subbrute.tmp b/dockers/Dockerfile.Subbrute.tmp new file mode 100644 index 0000000..0c9a14a --- /dev/null +++ b/dockers/Dockerfile.Subbrute.tmp @@ -0,0 +1,29 @@ +FROM kalilinux/kali-linux-docker + +WORKDIR /home +ENV http_proxy $proxy +ENV https_proxy $proxy +ENV DNS $dns +ENV TARGET $target +ENV OUTPUT $output + +RUN if [ -n "$$DNS" ];\ + then echo "nameserver $$DNS" > /etc/resolv.conf;\ + fi;\ + apt update && apt upgrade && apt install -y python3.4 git + +RUN if [ -n "$$DNS" ];\ + then echo "nameserver $$DNS" > /etc/resolv.conf;\ + fi;\ + pip3 install dnspython; exit 0 + +RUN if [ -n "$$DNS" ];\ + then echo "nameserver $$DNS" > /etc/resolv.conf;\ + fi;\ + git clone https://github.com/TheRook/subbrute.git subbrute + +RUN mkdir -p $$OUTPUT + +WORKDIR subbrute + +ENTRYPOINT ./subbrute.py -o $$OUTPUT/subbrute.txt $$TARGET diff --git a/dockers/Dockerfile.Sublist3r.tmp b/dockers/Dockerfile.Sublist3r.tmp new file mode 100644 index 0000000..cb7d230 --- /dev/null +++ b/dockers/Dockerfile.Sublist3r.tmp @@ -0,0 +1,29 @@ +FROM python:3.4 + +WORKDIR /home +ENV http_proxy $proxy +ENV https_proxy $proxy +ENV DNS $dns +ENV TARGET $target +ENV OUTPUT $output + +RUN mkdir -p $$OUTPUT + +RUN if [ -n "$$DNS" ]; \ + then echo "nameserver $DNS" > /etc/resolv.conf;\ + fi;\ + apt-get install git + +RUN if [ -n "$$DNS" ];\ + then echo "nameserver $DNS" > /etc/resolv.conf;\ + fi;\ + git clone https://github.com/aboul3la/Sublist3r.git /home/sublist + +WORKDIR /home/sublist + +RUN if [ -n "$$DNS" ]; \ + then echo "nameserver $DNS" > /etc/resolv.conf;\ + fi;\ + pip3 install -r requirements.txt + +ENTRYPOINT python3 sublist3r.py --domain $target -o $output/sublist3r.txt