Adds a quick wrapper to svn update

git-svn-id: file:///home/svn/framework3/trunk@10742 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-10-19 07:32:50 +00:00
parent 933eb3f6e6
commit ff7162aa2e
1 changed files with 14 additions and 0 deletions

14
msfupdate Executable file
View File

@ -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")