(HELP)Metasploit error setelah update
#1
Assalamu'alaykum IBT

Saya mau nanya gimana cara mengatasi error seperti ini setelah update metasploit pake msfupdate
PHP Code:
root@sww:~# msfconsole
[-] ***
[-] *
[-] * 
Metasploit now requires version 0.11 or higher of the 'pg' gem for database support
[-] * There a three ways to accomplish this upgrade:
[-] * 
1. If you run Metasploit with your system rubysimply upgrade the gem:
[-] *    $ 
rvmsudo gem install pg 
[-] * 2. Use the Community Edition web interface to apply a Software Update
[-] * 3. Uninstalldownload the latest version, and reinstall Metasploit
[-] *
[-] ***
[-] 
[-] 
[-] 
Failed to connect to the databasePlease install the postgresql adapter: `gem install activerecord-postgresql-adapter` (RubyGem version errorpg(0.9.0 not ~> 0.11)
) {
"adapter"=>"postgresql""database"=>"msf3""username"=>"msf3""password"=>"eccd8310""host"=>"127.0.0.1""port"=>7175"pool"=>75"timeout"=>5} ["/opt/framework/ruby/lib/ruby/1.9.1/rubygems.rb:751:in `report_activate_error'""/opt/framework/ruby/lib/ruby/1.9.1/rubygems.rb:214:in `activate'""/opt/framework/ruby/lib/ruby/1.9.1/rubygems.rb:1054:in `gem'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:7:in `<top (required)>'""/opt/framework/msf3/lib/fastlib.rb:368:in `require'""/opt/framework/msf3/lib/fastlib.rb:368:in `require'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in `block in require'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236:in `load_dependency'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in `require'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:48:in `resolve_hash_connection'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:27:in `spec'""/opt/framework/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:127:in `establish_connection'""/opt/framework/msf3/lib/msf/core/db_manager.rb:185:in `connect'""/opt/framework/msf3/lib/msf/ui/console/driver.rb:201:in `initialize'""/opt/framework/msf3/msfconsole:140:in `new'""/opt/framework/msf3/msfconsole:140:in `<main>'"]

--------------------------------------------------------------

       =[ 
metasploit v4.3.0-testing [core:4.3 api:1.0]
+ -- --=[ 
832 exploits 468 auxiliary 141 post
+ -- --=[ 250 payloads 27 encoders 8 nops
       
=[ svn r15135 updated today (2012.04.18)

msf db_status
[-] No database driver installed. Try 'gem install pg'
msf db_driver
[-] Unknown commanddb_driver

ini gambarnya
[Image: Screenshot-2.png]

tolong para backtrackers solved problem saya , saya sudah mengikuti tutorial lainya di forum ini tapi masih muncul eror tersebut Angry Angry Terimakasih Big Grin
Every one Have Superiority that you don't know..

#2
coba kesini ikuti ini om
http://forum.indonesianbacktrack.or.id/s...hp?tid=181
<< back|track'ers newbee

#3
coba ya om
Every one Have Superiority that you don't know..

#4
pake bt versi brp?,
klo metasploit yang terbaru support di bt 5 r2
udah coba gem install pg ??

db_connect baru bisa di eksekusi klo msf udah konek ke database
Hacking isn't just Computers & Exploits. It's a Philosophy.

#5
paket bt 5 r2 udah saya coba gem install pg tapi masih eror
db_driver > unknown command.
Every one Have Superiority that you don't know..

#6
(04-19-2012, 06:30 AM)wahyuardan Wrote: paket bt 5 r2 udah saya coba gem install pg tapi masih eror
db_driver > unknown command.

coba db_status om,,
cmiiwwwwSmileSmileSmileSmile
<<bete|five

#7
(04-19-2012, 06:30 AM)wahyuardan Wrote: paket bt 5 r2 udah saya coba gem install pg tapi masih eror
db_driver > unknown command.

metasploit setelah update tidak ada command db_driver lagi,

cek pakai db_Status,, hasilnya akan diberi tahu db yang available dan db yang terkoneksi

#8
(04-18-2012, 09:46 PM)fake666 Wrote: coba kesini ikuti ini om
http://forum.indonesianbacktrack.or.id/s...hp?tid=181

berhasil aku Om setelah ngikuti langkah2 ituSmile
Spoiler! :
<<Back|Track
☆‍‍‍‍☆‍‍‍‍☆‍‍‍‍☆☆


#9
(05-02-2012, 07:49 PM)junior.riau18 Wrote:
(04-19-2012, 06:30 AM)wahyuardan Wrote: paket bt 5 r2 udah saya coba gem install pg tapi masih eror
db_driver > unknown command.

metasploit setelah update tidak ada command db_driver lagi,

cek pakai db_Status,, hasilnya akan diberi tahu db yang available dan db yang terkoneksi

om nih saya ada masalah pas kan saya tes db_connect
hassilnya
Quote:db_connect
[*] Usage: db_connect <user:pass>@<host:port>/<database>
[*] OR: db_connect -y [path/to/database.yml]
[*] Examples:
[*] db_connect [email protected]
[*] db_connect user:[email protected]/metasploit3
[*] db_connect user:[email protected]:1500/metasploit3

terus pas saya buka db_drive
Quote:db_driver
[-] Unknown command: db_driver.

gimana ya biar db_drivernya aktif?
SMKN 1 JAKARTA
BOEDOET

#10
ketik db_status,
paste dimari hasil nya





Users browsing this thread: 1 Guest(s)