public
Created

Suggestions for Metasploit Dev Setup Environment Wiki

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
##Current Wiki Content
 
$ curl -L get.rvm.io | bash -s stable
$ source ~/.rvm/scripts/rvm
$ rvm install 1.9.3-p125
 
 
##Suggestions for Wiki Content
 
#Set default manually
$ rvm use 1.9.3-p125
$ rvm --default 1.9.3-p125
 
-OR-
 
#Use a gemset so we use 1.9.3-p125 when we drop into msf dir
$ 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

ooh good call, thanks! Added.

With more recent versions of rvm (where recently may be over a year, not sure), you can shorten the rvm commands (lines 18-21) to:

rvm use --create --rvmrc 1.9.3-p125@msf

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.