A couple of times over the past year, I have somehow broken Metasploit on a Backtrack 4 install. This can sometimes happen if you lose an internet connection whilst running msfupdate.
When this happens, Metasploit will fail to start, with some nasty error messages, basically saying there are file mismatches or missing files. Metasploit will no longer update using msfupdate, and this can be a pain if you have a HDD or USB install of Backtrack.
Here is how to fix this issue, by reinstalling MSF from the Metasploit repository (pretty simple, delete the current Metasploit install, and reinstall)
cd /opt/metasploit3
rm -rf msf3
svn co https://www.metasploit.com/svn/framework3/trunk msf3
(Choose "p" if it asks a question about trusting the repository)
After it has finished updating, you will have a working Metasploit Framework again. Hurrah!
(Note: /pentest/exploits/framework3/ is only a link. The real location for the Metasploit install is in /opt/metasploit3/msf3)
thanks alot for the post!!!! i really appreciate man
ReplyDeleteNo problem, thanks for the comment.
ReplyDeleteman, this really helped a lot. keep up the good work.
ReplyDeleteYou rock!
ReplyDeleteI sure can access the cli but the web interface do not work..
ReplyDeleteRuby: No such file or directory -- ./msfweb (LoadError)
Where did the script ./msfweb go??
sourabh,
ReplyDeleteI believe support for msfweb has been discontinued. There is a new UI.
Hello Ben, reinstalled MSF from the Metasploit repository due to this Warning?
ReplyDeleteWARNING! The following modules could not be loaded!
[-] /opt/metasploit3/msf3/modules/post/windows/escalate/service_permissions.rb: NameError /opt/metasploit3/msf3/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant Msf::Post::Registry
Any clues on how to fix this. I'm running BT4R2 on 15 GB usb stick.
When did this start happening?
ReplyDeleteDid you reinstall as I described in the blog? (It is not clear from your question)
Were you getting this warning, both before and after the reinstall?
(If you have deleted and reinstalled as I described then you should not be getting this issue)
Hey Guys !
ReplyDeleteUSA Fresh & Verified SSN Leads with DL Number AVAILABLE with 99.9% connectivity
All Leads have genuine & valid information
**HEADERS IN LEADS**
First Name | Last Name | SSN | Dob | DL Number | Address | City | State | Zip | Phone Number | Account Number | Bank Name | Employee Details | IP Address
*Price for SSN lead $2
*You can ask for sample before any deal
*If anyone buy in bulk, we can negotiate
*Sampling is just for serious buyers
==>ACTIVE, FRESH CC & CVV FULLZ AVAILABLE<==
->$5 PER EACH
->Hope for the long term deal
->Interested buyers will be welcome
**Contact 24/7**
Whatsapp > +923172721122
Email > leads.sellers1212@gmail.com
Telegram > @leadsupplier
ICQ > 752822040
golden goose slide
ReplyDeleteyeezy 350
hermes belt
stone island hoodie
jordan 13
yeezy 700
golden goose
lebron 18
jordan retro
yeezy 350
look at this site gucci replica bags browse around these guys aaa replica bags resource replica gucci bags
ReplyDeleteoff white hoodie
ReplyDeletefear of god hoodie
off white outlet
golden goose sneakers sale
bape hoodie
golden goose outlet
off white outlet
golden goose outlet
off white hoodie
off-white