Error pada metasploit
#1
Wink 
Malam para backtrackers......... saya ada problem dengan Metasploit ane dimana metasploit ane error seperti iniBig Grin


__ ____ __ ______ ______ _____ _____ __ __
| \/ \ \ / / / ___\ \ / / ___|_ _| ____| \/ |
| |\/| |\ V / \___ \\ V /\___ \ | | | _| | |\/| |
| | | | | | ___) || | ___) || | | |___| | | |
|_| |_| |_| |____/ |_| |____/ |_| |_____|_| |_|

============================= Th3BlackDr4gon
Today is: Thu Jan 5 22:44:18 WIT 2012
Kernel Information: Linux 2.6.39.4 i686
bt uptime is 4:57, 4 users, load average: 0.26, 0.34, 0.26

Indonesian Backtrack Team
the quieter you become, the more you able to hear
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
eka@IBTeam[{~}:msfconsole
[-] Failed to connect to the database: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 7175?
{"adapter"=>"postgresql", "database"=>"msf3", "username"=>"msf3", "password"=>"eccd8310", "host"=>"127.0.0.1", "port"=>7175, "pool"=>75, "timeout"=>5} ["/opt/framework/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `initialize'", "/opt/framework/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `new'", "/opt/framework/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `connect'", "/opt/framework/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize'", "/opt/framework/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new'", "/opt/framework/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'", "/opt/framework/ruby/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'", "/opt/framework/msf3/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'", "/opt/framework/msf3/lib/active_record/base.rb:1271:in `columns'", "/opt/framework/msf3/lib/active_record/base.rb:1284:in `column_names'", "/opt/framework/msf3/lib/active_record/base.rb:1297:in `column_methods_hash'", "/opt/framework/msf3/lib/active_record/base.rb:1986:in `block in all_attributes_exists?'", "/opt/framework/msf3/lib/active_record/base.rb:1986:in `each'", "/opt/framework/msf3/lib/active_record/base.rb:1986:in `all?'", "/opt/framework/msf3/lib/active_record/base.rb:1986:in `all_attributes_exists?'", "/opt/framework/msf3/lib/active_record/base.rb:1842:in `method_missing'", "/opt/framework/msf3/lib/msf/core/model/workspace.rb:70:in `default'", "/opt/framework/msf3/lib/msf/core/db.rb:197:in `default_workspace'", "/opt/framework/msf3/lib/msf/core/db_manager.rb:161:in `connect'", "/opt/framework/msf3/lib/msf/ui/console/driver.rb:195:in `initialize'", "/opt/framework/msf3/msfconsole:134:in `new'", "/opt/framework/msf3/msfconsole:134:in `<main>'"]

______________________________________________________________________________
| |
| METASPLOIT CYBER MISSILE COMMAND V4 |
|______________________________________________________________________________|
\ / /
\ . / / x
\ / /
\ / + /
\ + / /
* / /
/ . /
X / / X
/ ###
/ # % #
/ ###
. /
. / . * .
/
*
+ *

^
#### __ __ __ ####### __ __ __ ####
#### / \ / \ / \ ########### / \ / \ / \ ####
################################################################################
################################################################################
# WAVE 4 ######## SCORE 31337 ################################## HIGH FFFFFFFF #
################################################################################



=[ metasploit v4.2.0-dev [core:4.2 api:1.0]
+ -- --=[ 783 exploits - 418 auxiliary - 126 post
+ -- --=[ 238 payloads - 27 encoders - 8 nops
=[ svn r14498 updated today (2012.01.04)

msf >


ni snapnya om biar jelas maksud saya

[Image: gambarlayar3.png]

saya harap ada yang bisa membantu mecahin ni masalah Tongue
[Image: gambarlayar3.png]

Uploaded with ImageShack.us

Big Grin maaf tu yan diatas tadi ada yang kurang Tongue
Every Second, Every Minutes, Every Hours, Every Days Its Never End

#2
coba netstat -anpt trus kasih hasilnya kesini, cek apa postgresql port 7175 udah jalan ato blom??

#3
ni om hasilnya Big Grin

eka@IBTeam[{~}:netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:7634 0.0.0.0:* LISTEN 1052/hddtemp
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1137/cupsd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 984/postgres
tcp 0 0 10.89.115.228:60209 74.125.224.36:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50747 184.25.149.55:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:43583 69.171.224.39:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:41843 69.171.224.22:80 TIME_WAIT -
tcp 0 0 10.89.115.228:39856 74.125.224.103:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:42535 74.125.224.36:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50719 184.25.149.55:80 TIME_WAIT -
tcp 0 0 10.89.115.228:36318 184.22.78.115:80 TIME_WAIT -
tcp 0 0 10.89.115.228:35085 184.173.167.100:80 TIME_WAIT -
tcp 0 0 10.89.115.228:39857 74.125.224.103:443 TIME_WAIT -
tcp 0 0 10.89.115.228:50790 69.171.224.28:443 ESTABLISHED 1741/firefox
tcp 0 1215 10.89.115.228:36315 184.22.78.115:80 LAST_ACK -
tcp 0 0 10.89.115.228:43581 69.171.224.39:443 TIME_WAIT -
tcp 0 0 10.89.115.228:60982 173.192.226.69:80 TIME_WAIT -
tcp 0 0 10.89.115.228:50369 69.171.229.16:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:52557 208.94.0.21:80 TIME_WAIT -
tcp 0 0 10.89.115.228:42074 199.7.54.72:80 TIME_WAIT -
tcp 0 0 10.89.115.228:46504 69.171.227.39:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:43582 69.171.224.39:443 TIME_WAIT -
tcp 0 0 10.89.115.228:37827 74.125.224.101:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:43550 69.171.224.39:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50752 184.25.149.55:80 TIME_WAIT -
tcp 0 0 10.89.115.228:50367 69.171.229.16:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50368 69.171.229.16:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:43478 69.171.224.39:80 TIME_WAIT -
tcp 0 0 10.89.115.228:50748 184.25.149.55:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:42536 74.125.224.36:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:36423 208.46.163.80:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:42075 199.7.54.72:80 TIME_WAIT -
tcp 1 0 10.89.115.228:54605 91.189.89.31:80 CLOSE_WAIT 7795/gvfsd-http
tcp 0 0 10.89.115.228:39554 63.235.28.195:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:43479 69.171.224.39:80 TIME_WAIT -
tcp 0 0 10.89.115.228:50372 69.171.229.16:80 TIME_WAIT -
tcp 0 0 10.89.115.228:51660 184.87.159.139:80 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50753 184.25.149.55:80 TIME_WAIT -
tcp 0 1280 10.89.115.228:43579 69.171.224.39:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50373 69.171.229.16:80 TIME_WAIT -
tcp 0 0 10.89.115.228:60210 74.125.224.36:443 ESTABLISHED 1741/firefox
tcp 0 0 10.89.115.228:50374 69.171.229.16:80 TIME_WAIT -
tcp 0 0 10.89.115.228:50718 184.25.149.55:80 TIME_WAIT -
tcp 0 0 10.89.115.228:50721 184.25.149.55:80 TIME_WAIT -
tcp 1 0 10.89.115.228:54608 91.189.89.31:80 CLOSE_WAIT 7795/gvfsd-http
tcp 0 0 10.89.115.228:50720 184.25.149.55:80 TIME_WAIT -
tcp 0 0 10.89.115.228:34470 184.87.146.110:443 ESTABLISHED 1741/firefox
tcp6 0 0 :::80 :::* LISTEN 1260/apache2
tcp6 0 0 ::1:631 :::* LISTEN 1137/cupsd
tcp6 0 0 ::1:5432 :::* LISTEN 984/postgres
Every Second, Every Minutes, Every Hours, Every Days Its Never End

#4
owh postgres nya pake yg diinstall biasa bukan di ruby, coba mampir kesini:
http://forum.indonesianbacktrack.or.id/s...t=postgres

#5
udah om tapi masih ada aja tu om errornya trus drivernya pun ga ada mysql
Every Second, Every Minutes, Every Hours, Every Days Its Never End

#6
kayaknya di versi terbaru dari metasploit memang ga ada support buat mysql bro cmiiw

yg terbaru itu pake postgresql yg diinstall melalui gem ruby dan listening di port 7175, klo yg di 5432 itu postgresql yg diinstall melalui apt-get install postgresql-8.4 klo ga salah seinget ane

coba install gem postgresql aja:
Code:
gem install pg

klo masih ga bisa coba install ulang metasploitnya aja






Users browsing this thread: 1 Guest(s)