Problems upgrading BeEF (beef-ng) in Backtrack 5 R1
I follow Google code instructions on how to update BeEF (beef-ng) in BackTrack 5 R1 and I got the same error everytime
Google repository instructions
I'm getting a /core/loader.rb no such file to load error
Following the next steps you will be able to use use the latest BeEF on your pentests using BT5:
rm -rf /pentest/web/beef-ng
svn checkout http://beef.googlecode.com/svn/trunk/
GEM PATHS defined in the Gem Environment are wrong, so: add export GEM_PATH=/var/lib/gems/1.9.2/gems and export GEM_HOME=/var/lib/gems/1.9.2/gems to /etc/profile
cd /pentest/web/beef, then run ruby install , and press 2 to list all the required gems
install these required gems with gem install 'gem list from previous step'
to see if everything went ok:
irb(main):001:0> require 'rubygems'
irb(main):002:0> require 'dm-core'
Start BeEF with the default SQLite DB: ruby beef -x
Now BeEF is up-and-running and can be updated to the latest trunk version with the usual svn update command from the /pentest/web/beef directory.
I must admit I'm new to backtrack but my team and I need to write a paper about BeEF
I found this video on YouTube, after following the instructions I ended getting the same problem
Can anyone help us