Results 1 to 5 of 5

Thread: Metasploit pcaprub solution for Backtrack 5

  1. #1
    Join Date
    May 2011
    Posts
    220

    Metasploit pcaprub solution for Backtrack 5

    Immediately installed Backtrack 5 (32-bit GNOME) and revealed that this issue is not having pcaprub extensions installed. Therefore, do nothing with Metasploit modules direct connector other than an error. To save others the time I copied and pasted the metasploit wiki on how to do this.
    Code:
    # cd /pentest/exploits/framework3/external/pcaprub
    # ruby extconf.rb
    # make && make install
    Hope this helps!

  2. #2
    Join Date
    Nov 2009
    Posts
    1,416

    Re: Metasploit pcaprub solution for Backtrack 5

    Hello everyone today I just downloaded and installed the newer version of backtrack which is Backtrack 5 .I found that there is no pcaprub extension installed. I'm using the KDE x64 bit version of Backtrack 5.I don’t know if there is any issue this time and I have heard that pcaprub extension only works in 32 bit versions. I think I need to report this issue to Backtrack support .so that they can release the fix for it in couple of days.

  3. #3
    Join Date
    Nov 2009
    Posts
    1,269

    Re: Metasploit pcaprub solution for Backtrack 5

    Try updating your metasploit.
    Code:
    # cd opt/framework3/msf3/external/pcaprub
    # ruby extconf.rb && make && make install
    open msfconsole
    Code:
    # ruby /pentest/exploits/framework3/msfconsole
    I found this ineffecitive in many cases thats why i tried this one
    Code:
    # ruby /opt/framework3/msf3/msfconsole
    Again they are linking to the similar directly but with /pentest/. I tried so many times and it doesn’t work and with /opt it work and after this I scanned my network with ipidseq and its was working fine. Im not downloading any further packages of my own. I’m happy with things provided by backtrack.

  4. #4
    Join Date
    Nov 2008
    Posts
    1,185

    Re: Metasploit pcaprub solution for Backtrack 5

    I'm having exactly similar problem. I tried following commands.
    Code:
    cd /pentest/exploits/framework3/external/pcaprub
    ruby extconf.rb && make && make install
    By trying above commands, msfconsole still was not able to load the library
    Code:
    gem install pcaprub
    I got a load eror which I was getting nowhere with simple fix,when I run msfconsole it was able to run few scripts and then it loads the console,one of them exactly setup environment.after installing and you just need to add path to setenv.sh script to rubylib path.
    Code:
    cd /pentest/exploits/framework3/external/pcaprub
    ruby extconf.rb && make && make install
    than
    Code:
    gedit /opt/framework3/scripts/setenv.sh &
    So whole thing is
    Code:
    ##### RUBY ENV #####
    # Don't override GEM_PATH so users can install gems for the system ruby and
    # they at least have a chance of working with ours
    GEM_HOME="/opt/framework3/ruby/lib/ruby/gems/1.9.1"
    RUBY_HOME="/opt/framework3/ruby"
    RUBYLIB
    There must be many paths in rubylib separated by and just add the path of pcaprub to the end .restart the console and it will work fine. I have verified this on both Gnome 32 and 64 bit releases of backtrack 5.

  5. #5
    Join Date
    Nov 2009
    Posts
    1,035

    Re: Metasploit pcaprub solution for Backtrack 5

    I think this could be the technique for set up of MSF pcaprub differ the type of system you have (not only x86/x64) and the hardware that's inside, perhaps the way it is configured by backtrack during the installation. It sounds ridiculous, but all have the similar copy and the majority people do the same, install, restart, update everything with package manager and start MSF consulting with one of the scanners, if pcaprub is installed. And appear how a lot of possibilities exist to solve this difficulty and many people find their own ways to configure the whole thing. Of course, there is auspicious to have no issues with their computers and backtrack 5.

Similar Threads

  1. How to install metasploit and postgresql in backtrack 5?
    By GaganGang in forum Operating Systems
    Replies: 8
    Last Post: 30-09-2011, 12:51 PM
  2. Replies: 5
    Last Post: 05-08-2011, 09:21 AM
  3. Replies: 5
    Last Post: 09-07-2011, 10:36 AM
  4. Replies: 5
    Last Post: 06-07-2011, 07:40 PM
  5. Can’t get metasploit working in backtrack 5
    By Baijayanthi in forum Operating Systems
    Replies: 4
    Last Post: 20-06-2011, 06:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,902,560.24688 seconds with 17 queries