Skip to content

Commit

Permalink
Fully deprecates msfupdate over SVN
Browse files Browse the repository at this point in the history
Once this lands, SVN users will no longer be able to update over SVN.
  • Loading branch information
todb committed Mar 14, 2013
1 parent 40e801d commit c322b91
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
15 changes: 8 additions & 7 deletions msfconsole
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ end

def print_deprecation_warning
$stdout.puts ""
$stdout.puts "[*] Deprecation Note: After 2013-03-15 (March 15, 2013), Metasploit"
$stdout.puts "[*] source checkouts will NO LONGER update over SVN, but will be using"
$stdout.puts "[*] GitHub exclusively. You should either download a new Metasploit"
$stdout.puts "[*] installer, or use a git clone of Metasploit Framework before"
$stdout.puts "[*] then. You will also need outbound access to github.com on"
$stdout.puts "[*] TCP port 9418 (git), 22 (ssh) or 443 (https), depending on the"
$stdout.puts "[*] protocol used to clone Metasploit Framework (usually, git protocol)."
$stdout.puts "[-] Deprecation Note: Metasploit source checkouts NO LONGER update"
$stdout.puts "[-] over SVN. You will need to reinstall Metasploit using"
$stdout.puts "[-] binary installers (from http://www.metasploit.com/download ),"
$stdout.puts "[-] Debian packages (currently only supported on Kali Linux), or"
$stdout.puts "[-] a development source checkout from GitHub (see http://r-7.co/ZLhA8P )"
$stdout.puts "[-] "
$stdout.puts "[-] For more on msfupdate and migrating off of SVN, see http://r-7.co/MSF-UP"
$stdout.puts ""
end

if is_svn
Expand Down
13 changes: 8 additions & 5 deletions msfupdate
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ end

def print_deprecation_warning
$stdout.puts ""
$stdout.puts "[*] Deprecation Note: After 2013-02-28 (February 28, 2013), Metasploit"
$stdout.puts "[*] source checkouts will NO LONGER update over SVN, but will be using"
$stdout.puts "[*] GitHub exclusively. You should either download a new Metasploit"
$stdout.puts "[*] installer, or use a git clone of Metasploit Framework before"
$stdout.puts "[*] then. You will also need outbound access to github.com:9418/TCP."
$stdout.puts "[-] Deprecation Note: Metasploit source checkouts NO LONGER update"
$stdout.puts "[-] over SVN. You will need to reinstall Metasploit using"
$stdout.puts "[-] binary installers (from http://www.metasploit.com/download ),"
$stdout.puts "[-] Debian packages (currently only supported on Kali Linux), or"
$stdout.puts "[-] a development source checkout from GitHub (see http://r-7.co/ZLhA8P )"
$stdout.puts "[-] "
$stdout.puts "[-] For more on msfupdate and migrating off of SVN, see http://r-7.co/MSF-UP"
$stdout.puts ""
maybe_wait_and_exit 0x11
end

def maybe_wait_and_exit(exit_code=0)
Expand Down

0 comments on commit c322b91

Please sign in to comment.