Re: Metasploit Not updating
Seriously dude, this has been discussed plenty:
Code:
/pentest/exploits/framework3 msfupdate
Code:
/pentest/exploits/SET svn update
Re: Metasploit Not updating
Quote:
Originally Posted by
hypervista
Seriously dude, this has been discussed plenty:
Code:
/pentest/exploits/framework3 msfupdate
Code:
/pentest/exploits/SET svn update
and here's what i get.
Updating Metasploit from https://www.metasploit.com/svn/framework3/trunk...
A scripts/meterpreter/duplicate.rb
U lib/msf/core/db.rb
U lib/msf/core/model/host.rb
U lib/msf/core/model/workspace.rb
U lib/msf/core/model/service.rb
A lib/msf/core/model/web_vuln.rb
svn: Failed to add file 'lib/msf/core/model/exploited_host.rb': an unversioned file of the same name already exists
Error: cleaning up the SVN directory and retrying...
svn: Failed to add file 'lib/msf/core/model/exploited_host.rb': an unversioned file of the same name already exists
Error: please check connectivity to the following URL:
https://www.metasploit.com/svn/framework3/trunk
Re: Metasploit Not updating
Quote:
Originally Posted by
Nazagul
and here's what i get.
Updating Metasploit from
https://www.metasploit.com/svn/framework3/trunk...
A scripts/meterpreter/duplicate.rb
U lib/msf/core/db.rb
U lib/msf/core/model/host.rb
U lib/msf/core/model/workspace.rb
U lib/msf/core/model/service.rb
A lib/msf/core/model/web_vuln.rb
svn: Failed to add file 'lib/msf/core/model/exploited_host.rb': an unversioned file of the same name already exists
Error: cleaning up the SVN directory and retrying...
svn: Failed to add file 'lib/msf/core/model/exploited_host.rb': an unversioned file of the same name already exists
Error: please check connectivity to the following URL:
https://www.metasploit.com/svn/framework3/trunk
Note the red line. Can you understand?
Code:
root@bt:/pentest/exploits/framework3# svn help
And now? ;)
Regards,
Re: Metasploit Not updating
AH thank you, I had to delete the said file, then it worked.
wasn't sure that svn could do that.
Re: Metasploit Not updating
Running latest BT in VM.
in /pentest/exploits/framework3
I tried the svn --force delete test/lib/regexr.rb.ut
then re-ran msfupdate
Got another error that regexr.rb is unversioned.
Deleted it, next file error. deleted it another file error.... I have millions of file errors when trying to run msfupdate.
Following this guide: https://metasploit.com/redmine/proje...tall_BackTrack
doesnt help because /pentest/svn doesnt exist.
Honestly, what broke my update was running the svn update in /opt/metasploit3/msf3# svn update
EDIT: Now I believe that the apt-get update and upgrade is what broke the msfupdate because the update brought msfconsole to ver 3.5-dev but then I did the msfupdate, it brought it back down to 3.4.2-dev. Now msfupdate cannot update because the repos are ahead but msf are behind. That is what I think is happening.
Then thereafter I cannot do the regular msfupdate. Reason why I tried the svn update is because one guide said to use it. While running msfupdate and then msfconsole, it said it been 50 days since the last update. Now after svn update, it's brokken.
EDIT: I solved this by
apt-get remove framework3
then installing the latest framework from their website: http://www.metasploit.com/framework/download
Now I have the latest version and updating works.