metasploit-framework/dev/windows/run_msfconsole

17 lines
298 B
Plaintext
Raw Normal View History

#!/usr/bin/env ruby
Dir.chdir("/home");
exit(0) if not system("ruby ./license.rb")
if (not File.directory?("framework"))
Dir.mkdir("framework",0755)
system("tar xf framework.tar")
end
system("clear")
exec("/home/framework/msfconsole")
exec("/bin/bash")
exit(0)