Skip to content

Commit

Permalink
fix metasploit installation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
randomstr1ng committed Apr 19, 2024
1 parent d7e1851 commit 2528573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN apt-get update && apt-get install -y \
masscan \
sudo \
&& curl https://apt.metasploit.com/metasploit-framework.gpg.key | gpg --dearmour -o /etc/apt/trusted.gpg.d/metasploit.gpg \
&& curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall && \
bash /tmp/msfinstall && rm -rf /tmp/msfinstall && apt-key export 2007B954 | gpg --dearmour -o /etc/apt/trusted.gpg.d/metasploit.gpg && rm -rf /var/lib/apt/lists/*
&& curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall \
&& bash /tmp/msfinstall && rm -rf /tmp/msfinstall && rm -rf /var/lib/apt/lists/*

# Setup Folder
RUN mkdir -p /tools/.bin && mkdir -p /tools/nuclei-sap-templates && mkdir -p /tools/wordlists
Expand Down

0 comments on commit 2528573

Please sign in to comment.