Last active
February 1, 2022 00:54
-
-
Save santaklouse/8148598825f272c6eabf6f1cc30c770b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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