Indonesian Back|Track Team
[Fixed] Msfconsole Could not find rake-10.0.4 - Printable Version

+- Indonesian Back|Track Team (https://www.indonesianbacktrack.or.id/forum)
+-- Forum: Penetration Testing Os (https://www.indonesianbacktrack.or.id/forum/forum-170.html)
+--- Forum: Backtrack (https://www.indonesianbacktrack.or.id/forum/forum-171.html)
+---- Forum: BackTrack 5 (https://www.indonesianbacktrack.or.id/forum/forum-74.html)
+----- Forum: BackTrack 5 tutorial (https://www.indonesianbacktrack.or.id/forum/forum-82.html)
+----- Thread: [Fixed] Msfconsole Could not find rake-10.0.4 (/thread-4941.html)



[Fixed] Msfconsole Could not find rake-10.0.4 - Doel - 08-28-2013

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]



RE: [Fixed] Msfconsole Could not find rake-10.0.4 - zee eichel - 10-12-2013

thx bro work for me

added on home page :

http://indonesianbacktrack.or.id/index.php/Msfconsole_Could_not_find_rake-10.0.4
http://indonesianbacktrack.or.id/index.php/Msfconsole_Could_not_find_pg-0.15.1_in_any_of_the_sources

+4 rep

keep share


RE: [Fixed] Msfconsole Could not find rake-10.0.4 - Doel - 10-12-2013

Thanks om zee, saya sambil belajar juga Smile