Skip to content

Commit

Permalink
remove metasploit due to low usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanq16 authored Apr 10, 2024
1 parent 6993b06 commit 6df837e
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions security_docker_main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ RUN mkdir /opt/lists/ && cd /opt/lists/ && \
echo $a && wget "https://golang.org$a" && \
b=$(echo $a | cut -d "/" -f3) && \
echo $b && tar -C /usr/local -xzf "$b" && \
rm "$b" && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
rm "$b"

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
aws/install && \
rm awscliv2.zip && \
Expand All @@ -104,16 +105,8 @@ RUN mkdir /opt/lists/ && cd /opt/lists/ && \
rm $(ls | grep "google.*\.tar\.gz") && \
google-cloud-sdk/install.sh -q && \
echo "[ -f /root/google-cloud-sdk/path.zsh.inc ] && source /root/google-cloud-sdk/path.zsh.inc" >> /root/.zshrc && \
echo "[ -f /root/google-cloud-sdk/completion.zsh.inc ] && source /root/google-cloud-sdk/completion.zsh.inc" >> /root/.zshrc

RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \
cd / && \
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall && \
rm msfinstall && \
git clone --depth=1 https://gitlab.com/exploit-database/exploitdb.git /opt/exploit-database && \
ln -sf /opt/exploit-database/searchsploit /usr/local/bin/searchsploit
echo "[ -f /root/google-cloud-sdk/completion.zsh.inc ] && source /root/google-cloud-sdk/completion.zsh.inc" >> /root/.zshrc && \
curl -sL https://aka.ms/InstallAzureCLIDeb | bash

# ============================================================================================================
# ========================================================================== Tool Installations Part Two =====
Expand Down

0 comments on commit 6df837e

Please sign in to comment.