|
#!/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)
|