Skip to content

Instantly share code, notes, and snippets.

@zypeh
Last active December 27, 2015 23:49
Show Gist options
  • Save zypeh/7409147 to your computer and use it in GitHub Desktop.
Save zypeh/7409147 to your computer and use it in GitHub Desktop.
Yet another suggestions for Metasploit Dev Setup Environment Wiki
#Use a gemset so we use 1.9.3-p448 when startup
$ cd ./metasploit-framework
$ rvm use 1.9.3-p125
$ rvm gemset create msf
$ echo "rvm use 1.9.3-p125@msf" > .rvmrc
$ rvm use 1.9.3-p125@msf
------- This is mine ----------
$ rvm use 1.9.3-p448
$ rvm use --create --rvmrc 1.9.3-p448@msf
$ rvm use 1.9.3-p448@msf
# Make a startup.sh
$ echo "source /<the path you install rvm (.rvm)>/script/rvm" >> startup.sh
$ sudo chmod +x startup.sh
# So that you can auto source the rvm profile before you start metasploit
$ ./startup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment