[Fixed] Msfconsole Could not find rake-10.0.4
#1
Mungkin ada yang pernah mengalami masalah saat membuka metasploit framework baik dengan perintah msfcli maupun msfconsole (saya juga mengalami ini Big Grin ). error yang seperti ini :

[shcode=bash]
root@doel:~# msfconsole
Could not find rake-10.0.4 in any of the sources
[/shcode]

atau seperti ini :

[shcode=bash]
root@doel:~# msfconsole
Could not find pg-0.15.1 in any of the sources
[/shcode]

Setelah mencari dan terus mencari caranya, akhirnya nemu juga. Oke cekibrot Big Grin

1. Edit file rbconfig.rb

Jika menggunakan Backtrack 5 versi 32 bit, ketikkan :

[shcode=bash]root@doel:~# gedit /opt/metasploit/ruby/lib/ruby/1.9.1/i686­-linux/rbconfig.rb[/shcode]

Jika menggunakan versi 64 bit :

[shcode=bash]root@doel:~# gedit /opt/metasploit/ruby/lib/ruby/1.9.1/x86_­64-linux/rbconfig.rb[/shcode]

2. Kemudian pada rbconfig.rb, cari command ini :

[shcode=bash]CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static"[/shcode]

Spoiler! :
[Image: 3_zpsd06263f4.png]

lalu ganti command tersebut dengan command di bawah ini :

[shcode=bash]CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) "[/shcode]

Spoiler! :
[Image: 4_zpsc7710215.png]

Save

3. Kemudian ketikkan msfupdate di terminal. Jika berhasil, hasilnya seperti ini :

Spoiler! :
[Image: 5_zpsc2304eb6.png]

4. Msfconsole sudah dapat dijalankan

Spoiler! :
[Image: 11111_zpsd2606e12.png]

#2
thx bro work for me

added on home page :

http://indonesianbacktrack.or.id/index.p...ake-10.0.4
http://indonesianbacktrack.or.id/index.p...he_sources

+4 rep

keep share
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#3
Thanks om zee, saya sambil belajar juga Smile






Users browsing this thread: 1 Guest(s)