diff --git a/msfupdate b/msfupdate new file mode 100755 index 0000000000..2d7b860cd4 --- /dev/null +++ b/msfupdate @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby + +msfbase = __FILE__ +while File.symlink?(msfbase) + msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase)) +end + + +Dir.chdir(File.dirname(msfbase)) + +$stderr.puts "[*]" +$stderr.puts "[*] Attempting to update the Metasploit Framework..." +$stderr.puts "[*]" +system("svn update")