Created
June 6, 2017 00:31
-
-
Save aczire/a1c40e912d5eea4ea092cf26dda974c4 to your computer and use it in GitHub Desktop.
This file contains 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
echo "All commands are for illustrative purpose only. May require additional changes." | |
echo "Must use Ruby-2.3 or lower, nokogiri requires Ruby version < 2.4, >= 2.1.0" | |
wget https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe | |
echo "Install with all options." && ./rubyinstaller-2.3.3-x64.exe | |
wget https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe | |
./DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe to C:\Ruby23-x64\ | |
cd /c/Ruby23-x64/ | |
ruby dk.rb init | |
ruby dk.rb install | |
export RI_DEVKIT=C:\Ruby23-x64\ | |
export PATH=C:\Ruby23-x64\mingw\bin:$PATH | |
or ./devkitvars.bat | |
cd /c/ | |
git clone https://github.com/rapid7/metasploit-framework.git /c/msf/ | |
cd /c/msf/ | |
gem install bundler | |
gem install --no-ri --no-rdoc bcrypt --platform=ruby | |
cd /c/ | |
wget https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip | |
unzip WpdPack_4_1_2.zip | |
cp -f /c/WpdPack/Lib/x64/* /c/WpdPack/Lib/ | |
cd /c/msf/ | |
gem install pcaprub --no-ri --no-rdoc -- --with-pcap-dir="/c/WpdPack" | |
bundle install | |
echo "Uninstall with option 3." && gem uninstall bcrypt | |
echo "Uninstall with option 3." && gem uninstall bcrypt-ruby | |
gem install --no-ri --no-rdoc bcrypt --platform=ruby | |
./msfconsole | |
history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment