2005-12-17 06:46:23 +00:00
|
|
|
#!/usr/bin/env ruby
|
2005-05-24 05:35:12 +00:00
|
|
|
|
|
|
|
require 'test/unit'
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core'
|
|
|
|
require 'msf/core/exceptions.rb.ut'
|
|
|
|
require 'msf/core/option_container.rb.ut'
|
|
|
|
require 'msf/core/session_manager.rb.ut'
|
|
|
|
|
|
|
|
require 'msf/core/module/author.rb.ut'
|
|
|
|
require 'msf/core/module/platform_list.rb.ut'
|
|
|
|
require 'msf/core/module/reference.rb.ut'
|
|
|
|
require 'msf/core/module/target.rb.ut'
|
|
|
|
|
2005-11-01 02:42:48 +00:00
|
|
|
require 'msf/core/handler/bind_tcp.rb.ut'
|
|
|
|
require 'msf/core/handler/reverse_tcp.rb.ut'
|
|
|
|
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core/exploit.rb.ut'
|
2005-07-13 18:06:12 +00:00
|
|
|
require 'msf/core/exploit/tcp.rb.ut'
|
|
|
|
require 'msf/core/exploit/dcerpc.rb.ut'
|
2005-06-04 22:26:42 +00:00
|
|
|
|
2005-05-24 05:35:12 +00:00
|
|
|
class Msf::TestSuite
|
|
|
|
def self.suite
|
2005-06-04 07:51:59 +00:00
|
|
|
suite = Test::Unit::TestSuite.new("Msf Core")
|
2005-05-24 05:35:12 +00:00
|
|
|
|
2005-06-04 19:45:47 +00:00
|
|
|
suite << Msf::Exceptions::UnitTest.suite
|
2005-05-24 05:35:12 +00:00
|
|
|
suite << Msf::OptionContainer::UnitTest.suite
|
2005-05-26 06:35:37 +00:00
|
|
|
suite << Msf::SessionManager::UnitTest.suite
|
2005-05-24 05:35:12 +00:00
|
|
|
|
2005-06-05 00:33:38 +00:00
|
|
|
suite << Msf::Module::Author::UnitTest.suite
|
2005-06-05 00:03:23 +00:00
|
|
|
suite << Msf::Module::PlatformList::UnitTest.suite
|
2005-06-05 00:33:38 +00:00
|
|
|
suite << Msf::Module::Reference::UnitTest.suite
|
|
|
|
suite << Msf::Module::Target::UnitTest.suite
|
2005-11-01 02:42:48 +00:00
|
|
|
|
|
|
|
suite << Msf::Handler::BindTcp::UnitTest.suite
|
|
|
|
suite << Msf::Handler::ReverseTcp::UnitTest.suite
|
2005-06-05 00:03:23 +00:00
|
|
|
|
2005-06-04 22:26:42 +00:00
|
|
|
suite << Msf::Exploit::UnitTest.suite
|
2005-06-05 06:07:18 +00:00
|
|
|
suite << Msf::Exploit::Remote::Tcp::UnitTest.suite
|
|
|
|
suite << Msf::Exploit::Remote::DCERPC::UnitTest.suite
|
2005-06-04 22:26:42 +00:00
|
|
|
|
2005-05-24 05:35:12 +00:00
|
|
|
return suite;
|
|
|
|
end
|
2008-10-19 21:03:39 +00:00
|
|
|
end
|