Skip to content

Commit

Permalink
make things easier
Browse files Browse the repository at this point in the history
use --depth=1 to download ~50mb instead of ~500mb and use all CPU cores instead of 5 for bundle install
  • Loading branch information
Gabriel authored Mar 30, 2021
1 parent d3cfb6d commit 683d0d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metasploit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand All @@ -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
Expand Down

0 comments on commit 683d0d0

Please sign in to comment.