项目文件夹

文件
Víctor Mayoral Vilches 434766666e Missing bits to attack bob and hackableii from VulnHub
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2023-05-27 19:26:45 +00:00

33 行
1.4 KiB
Docker

FROM ubuntu:22.04
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
net-tools python3 python3-pip \
curl gnupg nmap bandit locales \
cloc sloccount less iputils-ping \
software-properties-common netdiscover \
dirb ftp host vim netcat ssh nikto whois \
gobuster wget
# Install Metasploit
RUN curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall \
&& chmod 755 /tmp/msfinstall \
&& /tmp/msfinstall
# # [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
# # alternatively, this also helps avoid having to pull requirements from the internet every single time
COPY requirements.txt /tmp/pip-tmp/
RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
&& rm -rf /tmp/pip-tmp
RUN pip3 install bandit trufflehog3
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository ppa:mozillateam/ppa -y
RUN echo "Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001\n\nPackage: firefox\nPin: version 1:1snap1-0ubuntu2\nPin-Priority: -1" > /etc/apt/preferences.d/mozilla-firefox
RUN apt-get update && apt-get install -y firefox firefox-geckodriver