Skip to content

Instantly share code, notes, and snippets.

@santaklouse
Last active February 1, 2022 00:54
Show Gist options
  • Select an option

  • Save santaklouse/8148598825f272c6eabf6f1cc30c770b to your computer and use it in GitHub Desktop.

Select an option

Save santaklouse/8148598825f272c6eabf6f1cc30c770b to your computer and use it in GitHub Desktop.
#!/bin/bash
echo '[+] Initializing local clock'
ntpdate -B -q 0.debian.pool.ntp.org
source /usr/local/rvm/scripts/rvm
echo '[+] Initializing postgres'
service postgresql start
echo '[+] Initializing tor'
service tor start
git config --global user.name git
git config --global user.email "email@example.com"
cd /opt/msf/
# git checkout .
git pull
echo '[+] Updating msf'
/opt/msf/msfupdate --git-branch master
/opt/msf/msfupdate --git-remote origin
#rvm install "ruby-2.6.5"
rvm install "ruby-3.0.2"
bundle update --bundler
bundle install
echo '[+] Well done, enjoy your shell'
tmux new-session "msfconsole; read"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment