beef error
#1
Bug 
┌──[root@bt]──[~]
└── dpkg -a --configure
Setting up beef (0.4.3.5-bt1) ...
WARNING: You don't have /root/.gem/ruby/1.9.2/bin in your PATH,
gem executables will not run.
Successfully installed bundler-1.1.5
1 gem installed
Installing ri documentation for bundler-1.1.5...
Installing RDoc documentation for bundler-1.1.5...
/var/lib/dpkg/info/beef.postinst: line 5: bundle: command not found
dpkg: error processing beef (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
beef

#2
coba apt-get remove beef --purge
terus install lagi. apa kejadiannya om
aceh.indonesianbacktrack.or.id


#3
masih sama om
Setting up beef (0.4.3.5-bt1) ...
WARNING: You don't have /root/.gem/ruby/1.9.2/bin in your PATH,
gem executables will not run.
Successfully installed bundler-1.1.5
1 gem installed
Installing ri documentation for bundler-1.1.5...
Installing RDoc documentation for bundler-1.1.5...
/var/lib/dpkg/info/beef.postinst: line 5: bundle: command not found
dpkg: error processing beef (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
beef

#4
sama ni dulu ane gitu om,
sebelumnya lancar, tapi setelah update dari KPackagekit jd begitu gatau kenapa, berhubung pengguna baru dan bingung nyari solusi akhirnya inul aja dah hha... (<<== jangan dituruti) Big Grin
sempet juga error w3af kayak thread sebelah,
tadi liat web backtrack katanya cobain ni :

#: gem install --user-install bundler
#: bundle install

AZbt5

#5
kesalahan ada pada versi ruby bro ...sudah ente coba thread ane ?

http://forum.indonesianbacktrack.or.id/s...p?tid=1834

tips : use search facility ... this forum have thousand thread... and click rating or thanks button if the thread help you for verification success thread and working tutorial
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#6
coba salah satu langkah di sini om
http://journalxtra.com/linuxsanity/fixin...rors-1495/

goodluck
pake ini kaka
Spoiler! :
#!/bin/sh
#@author Abraham Aranguren <[email protected]> http://securityconscious.blogspot.com
#@comment Script to upgrade BeEF in Bactrack 5 based on the wiki steps here: https://github.com/beefproject/beef/wiki...acktrack-5

DESTINATION="/pentest/web/beef"
echo
echo "Warning!!!: This will delete your $DESTINATION folder, press enter if you are sure, Control+C to cancel"
echo "NOTE: By default Backtrack 5 has beef on /pentest/web/beef-ng instead"
read intputvar

echo "Checking internet connectivity ..."
INTERNET=$(host www.google.com|grep "timed out"|wc -l)
if [ $INTERNET -eq 1 ]; then
echo
echo "You need internet connectivity to download the latest BeEF version from the internet"
echo "It looks like you have no internet connectivity. If you are lazy use the following command:"
echo "/etc/init.d/networking start"
exit
else
echo "Internet connectity OK"
fi

echo
echo "Upgrading BeEF..."
rm -rf $DESTINATION
git clone [email protected]:beefproject/beef.git $DESTINATION
cd $DESTINATION
#Select option 2: ruby1.9.2
#2 /usr/bin/ruby1.9.2 400 manual mode
echo
echo "Selecting option 2: ruby1.9.2 .."
echo
(sleep 1 ; echo 2) | update-alternatives --config ruby
echo
echo "Installing BeEF .."
echo
(sleep 2 ; echo 2) | ruby install > tmpfiledeleteme.txt

#Present info to the user
cat tmpfiledeleteme.txt

command=$(tail -2 tmpfiledeleteme.txt|grep gem)
rm -f tmpfiledeleteme.txt

echo
echo "Modifying /etc/profile to include correct Gem paths ..."
echo
gempaths="export#GEM_PATH=/var/lib/gems/1.9.2/gems export#GEM_HOME=/var/lib/gems/1.9.2/gems" #works
#gempaths="export#GEM_PATH=/var/lib/gems/1.9.2 export#GEM_HOME=/var/lib/gems/1.9.2" #works too
for i in $gempaths; do
line=$(echo $i | sed 's/#/ /g')
nummatches=$(grep "$line" /etc/profile|wc -l)
if [ $nummatches -eq 0 ]; then # Check config line is not there yet, if not there add it
echo "$line" >> /etc/profile
fi
done

source /etc/profile
#Load these new environment variables
. /etc/profile

echo
echo "Installing Gems ..."
echo
$command
#Issue 496 Fix: Added erubis gem installation by hand as otherwise this does not work in BT5 R1:
gem install erubis

echo
echo "Verifying installation was successful, please review this!"
echo "require 'rubygems' -> should be 'false'. require 'dm-core' -> should be 'true'. Gem.path should be [\"/var/lib/gems/1.9.2/gems\"]"
echo
#Now check things are working
(sleep 2; echo "require 'rubygems'"; sleep 1; echo "require 'dm-core'"; sleep 1; echo Gem.path ; sleep 1; echo quit)|irb

echo
echo "IMPORTANT!!: If you did not run this script with '. ' at the beginning please run the following command so that Gem paths are correctly set:"
echo ". /etc/profile"
echo
echo "To start BeEF with the default SQLite DB use the following command:"
echo "ruby beef -x"
echo
simpan dengan extensi sh, lalu execute make terminal

source : https://github.com/beefproject/beef/wiki...acktrack-5
semoga berhasil








Users browsing this thread: 1 Guest(s)