Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Add docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
l50 committed Nov 7, 2018
1 parent bd56bf3 commit 218e83d
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -105,6 +105,6 @@ venv.bak/

# custom
.idea/*
Dockerfile*
auth/creds.env
!dockers/*.tmp
dockers/user_config.json
24 changes: 24 additions & 0 deletions 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
13 changes: 13 additions & 0 deletions 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
29 changes: 29 additions & 0 deletions 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
29 changes: 29 additions & 0 deletions 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

0 comments on commit 218e83d

Please sign in to comment.