Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links


BackTrack 5: Getting call stack error on metasploit drivers

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-07-2011
Member
 
Join Date: Jun 2006
Posts: 65
BackTrack 5: Getting call stack error on metasploit drivers

Sponsored Links
I have installed BackTrack 5 on the computer of mine. well I am getting an issue when I supposed to create a Database by using MySQl and postgresql. I am getting call stack errors while doing the same. Let me know why I am getting the above mentioned issue on the computer of mine. any help on this particular matter would be highly appreciated. Thanks a lot in advance.

Reply With Quote
  #2  
Old 06-07-2011
sergioKomic's Avatar
Member
 
Join Date: May 2008
Posts: 916
Re: BackTrack 5: Getting call stack error on metasploit drivers

I let you know that I have already connected with the database after booting the computer. Well I have ran nmap and saved the scan on the x.namp I have ran following piece of the code on the terminal.
Code:
root@bt:~# msfconsole

msf > db_import /root/x.namp
after using the above mentioned command you will not require to use db_driver or db_connet connect command.
Reply With Quote
  #3  
Old 06-07-2011
Member
 
Join Date: Nov 2008
Posts: 996
Re: BackTrack 5: Getting call stack error on metasploit drivers

Let me know whether the above mentioned solution worked for you or not. If there is no change in the situation than I recommend following piece of command which you should execute.
Code:
root@bt:~# apt-get install libmysqlclient-dev
root@bt:~# gem install mysql
you did not require to create a new MySQL database and it should not be created by using the db_connect and it would create a new database if it not exist.
Reply With Quote
  #4  
Old 06-07-2011
Member
 
Join Date: Nov 2008
Posts: 1,055
Re: BackTrack 5: Getting call stack error on metasploit drivers

Well looking at the situation I am suggesting following things which you should try to fix the matter of yours.
You to run following command on the terminal.
Code:
update-alternatives --config ruby
you have to select ruby 1.8 auto
now execute the following piece of the command on the terminal,
Code:
gem install mysql
now nevaigate to the
Code:
 vi /pentest/exploits/framework/msfconsole
and simply replace the
Code:
#!/usr/bin/env ruby with the #!/usr/bin/ruby
Now execute the below mentioned command on the computer of yours.
Code:
cd /pentest/exploits/framework3
./msfconsole
Reply With Quote
  #5  
Old 06-07-2011
Member
 
Join Date: Nov 2008
Posts: 1,192
Re: BackTrack 5: Getting call stack error on metasploit drivers

I think you need install Ruby Version Manager on the computer of yours. once you have completed you have to open the .bashrc into text editor and add the following lines.
Code:
# Load RVM source

 if [[ -s "/usr/local/rvm/scripts/rvm" ]]  ; then source "/usr/local/rvm/scripts/rvm" ; fi

 # Enable Tab Completion in RVM

 [[ -r /usr/local/rvm//scripts/completion ]] && source /usr/local/rvm/scripts/completion
Reply With Quote
  #6  
Old 09-07-2011
Member
 
Join Date: Jun 2009
Posts: 1,518
Re: BackTrack 5: Getting call stack error on metasploit drivers

Each and everytime you have to invoke the ruby interpreter by using the version command. Next time you have to install the necessary ruby gems into the each of gem repositories by using the rvm command on the terminal of yours.
Code:
rvm gem install hpricot

 rvm gem install sqlite3-ruby

 rvm gem install pg

 rvm gem install wirble

 rvm gem install mysql
after completing with the installation you have to set Ruby 1.9.1 by using the following command.
Code:
rvm 1.9.1 –default
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "BackTrack 5: Getting call stack error on metasploit drivers"
Thread Thread Starter Forum Replies Last Post
How to install metasploit and postgresql in backtrack 5? GaganGang Operating Systems 8 30-09-2011 12:51 PM
Backtrack 5 – No database in metasploit, when followed proposed steps Habiba22 Windows Software 5 05-08-2011 09:21 AM
Unable to execute metasploit in backtrack 5 after updating db_driver sqlite 3 Gaganvihari Windows Software 5 06-07-2011 07:40 PM
Can’t get metasploit working in backtrack 5 Baijayanthi Operating Systems 4 20-06-2011 06:34 AM
Metasploit pcaprub solution for Backtrack 5 Farzana Operating Systems 4 19-06-2011 01:31 AM


All times are GMT +5.5. The time now is 01:58 AM.