Skip to content

Instantly share code, notes, and snippets.

@zPrototype
Last active October 1, 2021 10:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save zPrototype/306fa27bd93ab9facb3b741e552fb131 to your computer and use it in GitHub Desktop.
Save zPrototype/306fa27bd93ab9facb3b741e552fb131 to your computer and use it in GitHub Desktop.
A dockerfile to setup a simple ubuntu container for bugbounties
FROM ubuntu:20.04
ENV TZ Europe/Berlin
RUN DEBIAN_FRONTEND="noninteractive" && \
apt-get update && \
apt-get upgrade -y && \
apt-get autoclean -y && \
apt-get autoremove -y && \
apt-get install -y sudo apt-utils tzdata && \
dpkg-reconfigure --frontend noninteractive tzdata && \
apt-get install -y curl wget git nmap golang vim zsh python3-pip python3-dev ruby
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
apt-get update && \
apt-get install -y google-chrome-stable
RUN pip3 install rich dataclasses-json
RUN git -C /opt/ clone https://github.com/aboul3la/Sublist3r.git && \
git -C /opt/ clone https://github.com/dwisiswant0/apkleaks.git && \
git -C /opt/ clone https://github.com/linkedin/qark.git && \
git -C /opt/ clone https://github.com/tomnomnom/unfurl.git && \
git -C /opt/ clone https://github.com/tomnomnom/gf.git && \
git -C /opt/ clone https://github.com/tomnomnom/waybackurls.git && \
git -C /opt/ clone https://github.com/danielmiessler/SecLists.git && \
git -C /opt/ clone https://github.com/ozguralp/gmapsapiscanner.git && \
git -C /opt/ clone https://github.com/FortyNorthSecurity/EyeWitness.git && \
git -C /opt/ clone https://github.com/zPrototype/bugbounty_stuff.git && \
git -C /opt/ clone https://github.com/projectdiscovery/nuclei-templates.git && \
git -C /opt/ clone https://github.com/epinna/tplmap.git && \
git -C /opt/ clone https://github.com/random-robbie/bruteforce-lists.git && \
python3 /opt/Sublist3r/setup.py install
RUN go get -u github.com/tomnomnom/unfurl && \
GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder && \
go get -u github.com/ffuf/ffuf && \
GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei && \
GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx && \
GO111MODULE=on go get -u -v github.com/lc/gau && \
go get -u github.com/tomnomnom/assetfinder && \
go get -u github.com/tomnomnom/qsreplace && \
GO111MODULE=auto go get -u github.com/giteshnxtlvl/cook/cmd/cook && \
mv /root/go/bin/* /usr/local/bin/
RUN wget https://github.com/Findomain/Findomain/releases/download/4.3.0/findomain-linux && \
mv findomain-linux findomain && \
chmod +x findomain && \
mv findomain /usr/local/bin/
RUN wget https://github.com/OWASP/Amass/releases/download/v3.13.4/amass_linux_amd64.zip && \
unzip amass_linux_amd64.zip && \
chmod +x amass_linux_amd64/amass && \
mv amass_linux_amd64/amass /usr/local/bin/ && \
rm -rf amass_linux_amd64*
RUN wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip && \
unzip aquatone_linux_amd64_1.7.0.zip && \
chmod +x aquatone && \
mv aquatone /usr/local/bin/aquatone && \
rm LICENSE.txt README.md aquatone_linux_amd64_1.7.0.zip
RUN curl -sL https://raw.githubusercontent.com/epi052/feroxbuster/master/install-nix.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment