From 683d0d0af4cd40014218d9d6151b62604961571b Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 30 Mar 2021 19:39:38 -0300 Subject: [PATCH] make things easier use --depth=1 to download ~50mb instead of ~500mb and use all CPU cores instead of 5 for bundle install --- metasploit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metasploit.sh b/metasploit.sh index 6e95880..470a8ad 100644 --- a/metasploit.sh +++ b/metasploit.sh @@ -62,7 +62,7 @@ rm -rf $HOME/metasploit-framework echo center "*** Downloading..." cd $HOME -git clone https://github.com/rapid7/metasploit-framework.git +git clone https://github.com/rapid7/metasploit-framework.git --depth=1 echo center "*** Installation..." @@ -77,7 +77,7 @@ gem install nokogiri -v 1.8.0 -- --use-system-libraries gem install actionpack bundle update activesupport bundle update --bundler -bundle install -j5 +bundle install -j$(nproc --all) $PREFIX/bin/find -type f -executable -exec termux-fix-shebang \{\} \; rm ./modules/auxiliary/gather/http_pdf_authors.rb if [ -e $PREFIX/bin/msfconsole ];then