2022-03-14 18:17:47 -04:00
|
|
|
FROM debian:latest
|
|
|
|
|
2022-07-18 16:23:09 -04:00
|
|
|
RUN apt-get update && apt-get install -y curl wget gnupg2 git python3 python3-pip
|
|
|
|
|
|
|
|
|
|
|
|
# Install metasploit
|
|
|
|
RUN mkdir -p /metasploit
|
|
|
|
WORKDIR /metasploit
|
2022-03-14 18:17:47 -04:00
|
|
|
|
|
|
|
RUN curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
|
|
|
|
chmod +x ./msfinstall &&\
|
|
|
|
./msfinstall && \
|
2022-07-18 16:23:09 -04:00
|
|
|
rm -rf /msfinstall
|
|
|
|
|
|
|
|
# Install routersploit
|
|
|
|
RUN git clone https://www.github.com/threat9/routersploit /routersploit
|
|
|
|
WORKDIR /routersploit
|
|
|
|
RUN python3 -m pip install -r requirements.txt
|
2022-03-14 18:17:47 -04:00
|
|
|
|
2022-07-18 16:23:09 -04:00
|
|
|
WORKDIR /
|
|
|
|
RUN useradd -m -s /bin/bash nroot
|